From 21d81e6b1b6a9c060adb608a8eccfa201c320314 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 23 Jan 2014 11:43:14 +0100 Subject: xrandr: Fix gdk_spawn_command_line_on_screen usage with GTK3 --- plugins/xrandr/msd-xrandr-manager.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/xrandr') diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c index 20695a4..0ffc6be 100644 --- a/plugins/xrandr/msd-xrandr-manager.c +++ b/plugins/xrandr/msd-xrandr-manager.c @@ -46,6 +46,11 @@ #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 #endif -- cgit v1.2.1