summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/mate-desktop-utils.h')
-rw-r--r--libmate-desktop/mate-desktop-utils.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/libmate-desktop/mate-desktop-utils.h b/libmate-desktop/mate-desktop-utils.h
index dd6921b..824b11a 100644
--- a/libmate-desktop/mate-desktop-utils.h
+++ b/libmate-desktop/mate-desktop-utils.h
@@ -32,25 +32,16 @@
#endif
#include <glib.h>
-#include <glib-object.h>
-
#include <gdk/gdk.h>
-#include <gtk/gtk.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
/* 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
+G_END_DECLS
-#endif /* MATE_DITEM_H */
+#endif /* MATE_DESKTOP_UTILS_H */