diff options
-rw-r--r-- | libmate-desktop/mate-desktop-utils.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libmate-desktop/mate-desktop-utils.c b/libmate-desktop/mate-desktop-utils.c index 639d2af..985278f 100644 --- a/libmate-desktop/mate-desktop-utils.c +++ b/libmate-desktop/mate-desktop-utils.c @@ -199,10 +199,8 @@ mate_gdk_spawn_command_line_on_screen (GdkScreen *screen, const gchar *command, gdk_app_launch_context_set_screen (context, screen); res = g_app_info_launch (appinfo, NULL, G_APP_LAUNCH_CONTEXT (context), error); g_object_unref (context); - } - - if (appinfo != NULL) g_object_unref (appinfo); + } return res; } |