[gnome-panel] libpanel-applet: Add introspection annotations
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] libpanel-applet: Add introspection annotations
- Date: Mon, 29 Nov 2010 13:04:35 +0000 (UTC)
commit 9cbae555115013bc7946e2ce3584d40639248f14
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Mon Nov 29 14:03:29 2010 +0100
libpanel-applet: Add introspection annotations
panel_applet_factory_main was being generated with introspectable="0"
because of missing annotations
libpanel-applet/panel-applet.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/libpanel-applet/panel-applet.c b/libpanel-applet/panel-applet.c
index 5b63561..bdaba74 100644
--- a/libpanel-applet/panel-applet.c
+++ b/libpanel-applet/panel-applet.c
@@ -2240,6 +2240,16 @@ _panel_applet_setup_x_error_handler (void)
_x_error_func = XSetErrorHandler (_x_error_handler);
}
+/**
+ * panel_applet_factory_main:
+ * @factory_id: Factory ID.
+ * @out_process: If the factory is on a separate process or not.
+ * @applet_type: GType of the applet this factory creates.
+ * @callback: (scope call): Callback to be called when a new applet is to be created.
+ * @data: (closure): Callback data.
+ *
+ * Returns: 0 on success, 1 if there is an error.
+ */
int
panel_applet_factory_main (const gchar *factory_id,
gboolean out_process,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]