summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-06-21 17:04:20 +0200
committerMichal Ratajsky <[email protected]>2014-06-21 17:04:20 +0200
commitbee8e1b426472921a6f1b95634087aa66a62a19e (patch)
treeda7dc3cddd3559ff7c0ea4370c8e551449d8a9ef
parent78d266b31638319eb04bdf06a3e14d28f48367b7 (diff)
downloadmate-desktop-bee8e1b426472921a6f1b95634087aa66a62a19e.tar.bz2
mate-desktop-bee8e1b426472921a6f1b95634087aa66a62a19e.tar.xz
Make mate_gdk_spawn_command_line_on_screen available on GTK2
-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
}