summaryrefslogtreecommitdiff
path: root/clutter-gtk/gtk-clutter-util.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2009-04-14 14:52:34 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2009-04-14 14:52:34 +0100
commit19f16f1c112e3aa1eb12eb764feb821c97bc9e1c (patch)
tree9346a77c10198b15c8a072c431135696e9ecbb0c /clutter-gtk/gtk-clutter-util.h
parent90b792ede16cd8e51467ae37d4610a8a2e570c7d (diff)
downloadclutter-gtk-19f16f1c112e3aa1eb12eb764feb821c97bc9e1c.tar.gz
Move init functions out of Embed source
The gtk_clutter_init* family of functions should live in the utilities code, and not inside the GtkClutterEmbed header and source files.
Diffstat (limited to 'clutter-gtk/gtk-clutter-util.h')
-rw-r--r--clutter-gtk/gtk-clutter-util.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/clutter-gtk/gtk-clutter-util.h b/clutter-gtk/gtk-clutter-util.h
index 8d60c90..c228a01 100644
--- a/clutter-gtk/gtk-clutter-util.h
+++ b/clutter-gtk/gtk-clutter-util.h
@@ -31,6 +31,31 @@
G_BEGIN_DECLS
+/**
+ * ClutterGtkInitError:
+ * @CLUTTER_INIT_ERROR_LAST: Placeholder
+ * @CLUTTER_INIT_ERROR_GTK: Unable to initialize GTK+
+ *
+ * Extension of the #ClutterInitError enumeration for the integration
+ * with GTK+
+ *
+ * Since: 0.8
+ */
+typedef enum {
+ CLUTTER_INIT_ERROR_LAST = CLUTTER_INIT_ERROR_INTERNAL,
+
+ CLUTTER_INIT_ERROR_GTK = (CLUTTER_INIT_ERROR_LAST - 1)
+} ClutterGtkInitError;
+
+ClutterInitError gtk_clutter_init (int *argc,
+ char ***argv);
+ClutterInitError gtk_clutter_init_with_args (int *argc,
+ char ***argv,
+ const char *parameter_string,
+ GOptionEntry *entries,
+ const char *translation_domain,
+ GError **error);
+
void gtk_clutter_get_fg_color (GtkWidget *widget,
GtkStateType state,
ClutterColor *color);