summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-08-05 01:00:45 +0200
committerStefano Karapetsas <[email protected]>2013-08-05 01:00:45 +0200
commit45b831395e63de9c75ea517e45095a7ba0dd9311 (patch)
treef2c2e2d7046c8794248f5bba9128d2387d01b35d
parentd60011687083b1c085c1cacf6febdb8814036335 (diff)
downloadmate-desktop-45b831395e63de9c75ea517e45095a7ba0dd9311.tar.bz2
mate-desktop-45b831395e63de9c75ea517e45095a7ba0dd9311.tar.xz
Fix mate_gdk_spawn_command_line_on_screen
-rw-r--r--libmate-desktop/mate-desktop-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmate-desktop/mate-desktop-utils.c b/libmate-desktop/mate-desktop-utils.c
index e434f84..0a41700 100644
--- a/libmate-desktop/mate-desktop-utils.c
+++ b/libmate-desktop/mate-desktop-utils.c
@@ -191,12 +191,12 @@ mate_gdk_spawn_command_line_on_screen (GdkScreen *screen, const gchar *command,
GAppInfo *appinfo = NULL;
GdkAppLaunchContext *context = NULL;
- appinfo = g_app_info_create_from_commandline (command, NULL, G_APP_INFO_CREATE_NONE, &error);
+ appinfo = g_app_info_create_from_commandline (command, NULL, G_APP_INFO_CREATE_NONE, error);
if (!error) {
context = gdk_app_launch_context_new ();
gdk_app_launch_context_set_screen (context, screen);
- g_app_info_launch (appinfo, NULL, G_APP_LAUNCH_CONTEXT (context), &error);
+ g_app_info_launch (appinfo, NULL, G_APP_LAUNCH_CONTEXT (context), error);
g_object_unref (context);
}