From bee8e1b426472921a6f1b95634087aa66a62a19e Mon Sep 17 00:00:00 2001 From: Michal Ratajsky Date: Sat, 21 Jun 2014 17:04:20 +0200 Subject: Make mate_gdk_spawn_command_line_on_screen available on GTK2 --- libmate-desktop/mate-desktop-utils.c | 2 -- libmate-desktop/mate-desktop-utils.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/libmate-desktop/mate-desktop-utils.c b/libmate-desktop/mate-desktop-utils.c index 9dda9e9..a4454d8 100644 --- a/libmate-desktop/mate-desktop-utils.c +++ b/libmate-desktop/mate-desktop-utils.c @@ -165,7 +165,6 @@ mate_desktop_prepend_terminal_to_vector (int *argc, char ***argv) #endif } -#if GTK_CHECK_VERSION (3, 0, 0) /** * mate_gdk_spawn_command_line_on_screen: * @screen: a GdkScreen @@ -206,7 +205,6 @@ mate_gdk_spawn_command_line_on_screen (GdkScreen *screen, const gchar *command, return res; } -#endif void _mate_desktop_init_i18n (void) { diff --git a/libmate-desktop/mate-desktop-utils.h b/libmate-desktop/mate-desktop-utils.h index dd6921b..e9eaeec 100644 --- a/libmate-desktop/mate-desktop-utils.h +++ b/libmate-desktop/mate-desktop-utils.h @@ -44,10 +44,8 @@ extern "C" { /* prepend the terminal command to a vector */ void mate_desktop_prepend_terminal_to_vector (int *argc, char ***argv); -#if GTK_CHECK_VERSION (3, 0, 0) /* replace gdk_spawn_command_line_on_screen, not available in GTK3 */ gboolean mate_gdk_spawn_command_line_on_screen (GdkScreen *screen, const gchar *command, GError **error); -#endif #ifdef __cplusplus } -- cgit v1.2.1