diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-23 11:43:14 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-23 11:43:14 +0100 |
commit | 21d81e6b1b6a9c060adb608a8eccfa201c320314 (patch) | |
tree | cc505874410f482c0818a01977a0653daa3bbaf2 | |
parent | 3e322a3b0f55d35d642c921fa04d161c808fd531 (diff) | |
download | mate-settings-daemon-21d81e6b1b6a9c060adb608a8eccfa201c320314.tar.bz2 mate-settings-daemon-21d81e6b1b6a9c060adb608a8eccfa201c320314.tar.xz |
xrandr: Fix gdk_spawn_command_line_on_screen usage with GTK3
-rw-r--r-- | plugins/xrandr/msd-xrandr-manager.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <libmate-desktop/mate-rr.h> #include <libmate-desktop/mate-rr-labeler.h> +#if GTK_CHECK_VERSION (3, 0, 0) +#include <libmate-desktop/mate-desktop-utils.h> +#define gdk_spawn_command_line_on_screen mate_gdk_spawn_command_line_on_screen +#endif + #ifdef HAVE_LIBNOTIFY #include <libnotify/notify.h> #endif |