summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-utils.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-03-07 00:15:43 +0100
committerStefano Karapetsas <[email protected]>2014-03-07 00:15:43 +0100
commitfcb085d9268aa30958d50500d1f7402d471ec7be (patch)
tree6569a0c1cb3934e7620f46bf1aa6d1269f707013 /libmate-desktop/mate-desktop-utils.c
parent9b92002e153b16700fd15ffb32fe15d1b2e09704 (diff)
downloadmate-desktop-fcb085d9268aa30958d50500d1f7402d471ec7be.tar.bz2
mate-desktop-fcb085d9268aa30958d50500d1f7402d471ec7be.tar.xz
Revert "gtk3: GdkRGBA support"
This reverts commit e95d24559060365eb4fee8154ad82434bf3c8a0a.
Diffstat (limited to 'libmate-desktop/mate-desktop-utils.c')
-rw-r--r--libmate-desktop/mate-desktop-utils.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libmate-desktop/mate-desktop-utils.c b/libmate-desktop/mate-desktop-utils.c
index cac00ee..985278f 100644
--- a/libmate-desktop/mate-desktop-utils.c
+++ b/libmate-desktop/mate-desktop-utils.c
@@ -195,12 +195,7 @@ mate_gdk_spawn_command_line_on_screen (GdkScreen *screen, const gchar *command,
appinfo = g_app_info_create_from_commandline (command, NULL, G_APP_INFO_CREATE_NONE, error);
if (appinfo) {
-#if GTK_CHECK_VERSION(3, 0, 0)
- GdkDisplay *display = gdk_screen_get_display(screen);
- context = gdk_display_get_app_launch_context(display);
-#else
context = gdk_app_launch_context_new ();
-#endif
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);