summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-29 15:45:27 +0200
committerinfirit <[email protected]>2014-07-29 15:45:27 +0200
commit5b695526a9974fbbceb64617a414c687fc340635 (patch)
tree2b8e8ace64fe8617850713dfae63bb7fee649a74
parent7963633d8b1aebf0312d68f62d327a27330f7e0c (diff)
downloadeom-5b695526a9974fbbceb64617a414c687fc340635.tar.bz2
eom-5b695526a9974fbbceb64617a414c687fc340635.tar.xz
Always use mate_gdk_spawn_command_line_on_screen
-rw-r--r--src/eom-window.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index e7fd920..06e6ab9 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -77,10 +77,8 @@
#include <lcms2.h>
#endif
-#if GTK_CHECK_VERSION(3, 0, 0)
#define MATE_DESKTOP_USE_UNSTABLE_API
#include <libmate-desktop/mate-desktop-utils.h>
-#endif
#define EOM_WINDOW_GET_PRIVATE(object) \
(G_TYPE_INSTANCE_GET_PRIVATE ((object), EOM_TYPE_WINDOW, EomWindowPrivate))
@@ -2658,17 +2656,10 @@ wallpaper_info_bar_response (GtkInfoBar *bar, gint response, EomWindow *window)
GdkScreen *screen;
screen = gtk_widget_get_screen (GTK_WIDGET (window));
- #if GTK_CHECK_VERSION(3, 0, 0)
mate_gdk_spawn_command_line_on_screen (screen,
"mate-appearance-properties"
" --show-page=background",
NULL);
- #else
- gdk_spawn_command_line_on_screen (screen,
- "mate-appearance-properties"
- " --show-page=background",
- NULL);
- #endif
}
/* Close message area on every response */