Skip to content

Commit

Permalink
Merge pull request #23 from jean-edouard/stable-8-screenshot
Browse files Browse the repository at this point in the history
STABLE-8: screenshot: fix dbus init
  • Loading branch information
eric-ch authored Jun 12, 2018
2 parents df30f2a + 6df560f commit 3263678
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions surfman/app/screenshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ int main(int argc, char **argv)
"Saving screenshots for all screens, all domains in directory %s\n",
dir);

dbus_error_init(&err);

c = dbus_bus_get(DBUS_BUS_SYSTEM, &err);

if (!c) {
Expand Down

0 comments on commit 3263678

Please sign in to comment.