From 62f256795823995becd16dd51bacfd0f76c2afd9 Mon Sep 17 00:00:00 2001 From: Monsta Date: Mon, 12 Jan 2015 14:30:21 +0300 Subject: xrandr: use mate_gdk_spawn_command_line_on_screen always Closes https://github.com/mate-desktop/mate-settings-daemon/pull/93 --- plugins/xrandr/msd-xrandr-manager.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c index 8d90c2e..0aeba33 100644 --- a/plugins/xrandr/msd-xrandr-manager.c +++ b/plugins/xrandr/msd-xrandr-manager.c @@ -41,15 +41,10 @@ #include #define MATE_DESKTOP_USE_UNSTABLE_API - #include #include #include - -#if GTK_CHECK_VERSION (3, 0, 0) #include -#define gdk_spawn_command_line_on_screen mate_gdk_spawn_command_line_on_screen -#endif #ifdef HAVE_LIBNOTIFY #include @@ -1641,7 +1636,7 @@ run_display_capplet (GtkWidget *widget) screen = gdk_screen_get_default (); error = NULL; - if (!gdk_spawn_command_line_on_screen (screen, MSD_XRANDR_DISPLAY_CAPPLET, &error)) { + if (!mate_gdk_spawn_command_line_on_screen (screen, MSD_XRANDR_DISPLAY_CAPPLET, &error)) { GtkWidget *dialog; dialog = gtk_message_dialog_new_with_markup (NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, -- cgit v1.2.1