From 45b831395e63de9c75ea517e45095a7ba0dd9311 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Mon, 5 Aug 2013 01:00:45 +0200 Subject: Fix mate_gdk_spawn_command_line_on_screen --- libmate-desktop/mate-desktop-utils.c | 4 ++-- 1 file 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); } -- cgit v1.2.1