summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmate-desktop/mate-desktop-utils.c2
-rw-r--r--libmate-desktop/mate-desktop-utils.h2
2 files changed, 0 insertions, 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
}