#ifndef __MAEMO_TWEAKS_DESKTOP_H__
#define __MAEMO_TWEAKS_DESKTOP_H__
+#include <glib-object.h>
#include <gtk/gtk.h>
-GtkWidget * maemo_tweaks_desktop_create_snap_to_grid (void);
+/*
+ * Type macros.
+ */
+#define MAEMO_TWEAKS_TYPE_DESKTOP \
+ (maemo_tweaks_desktop_get_type ())
+#define MAEMO_TWEAKS_DESKTOP(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAEMO_TWEAKS_TYPE_DESKTOP, \
+ MaemoTweaksDesktop))
+#define MAEMO_TWEAKS_IS_DESKTOP(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAEMO_TWEAKS_TYPE_DESKTOP))
+#define MAEMO_TWEAKS_DESKTOP_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), MAEMO_TWEAKS_TYPE_DESKTOP,\
+ MaemoTweaksDesktopClass))
+#define MAEMO_TWEAKS_IS_DESKTOP_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), MAEMO_TWEAKS_TYPE_DESKTOP))
+#define MAEMO_TWEAKS_DESKTOP_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), MAEMO_TWEAKS_TYPE_DESKTOP, \
+ MaemoTweaksDesktopClass))
+
+typedef struct _MaemoTweaksDesktop MaemoTweaksDesktop;
+struct _MaemoTweaksDesktop
+{
+ GObject parent_instance;
+};
+
+typedef struct _MaemoTweaksDesktopClass MaemoTweaksDesktopClass;
+struct _MaemoTweaksDesktopClass
+{
+ GObjectClass parent_class;
+};
+
+GType maemo_tweaks_desktop_get_type (void);
#endif /* __MAEMO_TWEAKS_DESKTOP_H__ */