summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-utils.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-08-02 12:51:23 +0200
committerStefano Karapetsas <[email protected]>2013-08-02 12:51:23 +0200
commitd60011687083b1c085c1cacf6febdb8814036335 (patch)
tree25836f4d38b25e02aab73dd10e3709d4ddb2430a /libmate-desktop/mate-desktop-utils.h
parent5193ccc5428221f9a4cafd275065bacb3af7efbb (diff)
downloadmate-desktop-d60011687083b1c085c1cacf6febdb8814036335.tar.bz2
mate-desktop-d60011687083b1c085c1cacf6febdb8814036335.tar.xz
Add replacement for gdk_spawn_command_line_on_screen
gdk_spawn_command_line_on_screen is removed in GTK3, and require some code to be replaced, so we are going to use a common function to replace it in MATE source code to have GTK3 support
Diffstat (limited to 'libmate-desktop/mate-desktop-utils.h')
-rw-r--r--libmate-desktop/mate-desktop-utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmate-desktop/mate-desktop-utils.h b/libmate-desktop/mate-desktop-utils.h
index f2e659f..dd6921b 100644
--- a/libmate-desktop/mate-desktop-utils.h
+++ b/libmate-desktop/mate-desktop-utils.h
@@ -44,6 +44,11 @@ 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
}
#endif