summaryrefslogtreecommitdiff
path: root/libslab/libslab-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libslab/libslab-utils.h')
-rw-r--r--libslab/libslab-utils.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/libslab/libslab-utils.h b/libslab/libslab-utils.h
index e41e8852..0aef150c 100644
--- a/libslab/libslab-utils.h
+++ b/libslab/libslab-utils.h
@@ -5,17 +5,13 @@
#include <gtk/gtk.h>
#include <libmate-desktop/mate-desktop-item.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
MateDesktopItem *libslab_mate_desktop_item_new_from_unknown_id (const gchar *id);
gint libslab_strcmp (const gchar *a, const gchar *b);
GdkScreen *libslab_get_current_screen (void);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
-#endif
+#endif /* __LIBSLAB_UTILS_H__ */