diff options
author | Stefano Karapetsas <[email protected]> | 2012-01-05 16:29:12 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-01-05 16:29:12 +0100 |
commit | 4b23e8a1c2ddd97c200197abd10e7a6604643469 (patch) | |
tree | 47479a1af53efa5097302aa1da9c8587145a100a /libmate-panel-applet | |
parent | eb26152358112a7a289c51f8100a8975f532df54 (diff) | |
download | mate-panel-4b23e8a1c2ddd97c200197abd10e7a6604643469.tar.bz2 mate-panel-4b23e8a1c2ddd97c200197abd10e7a6604643469.tar.xz |
libmate-panel-applet: Add introspection annotations
mate_panel_applet_factory_main was being generated with introspectable="0" because of missing annotations
http://git.gnome.org/browse/gnome-panel/commit/?h=gnome-2-32&id=9cbae555115013bc7946e2ce3584d40639248f14
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index 5ec4c7bf..4a5998c9 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -2245,6 +2245,16 @@ _mate_panel_applet_setup_x_error_handler (void) _x_error_func = XSetErrorHandler (_x_error_handler); } +/** + * mate_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 mate_panel_applet_factory_main(const gchar* factory_id, gboolean out_process, GType applet_type, MatePanelAppletFactoryCallback callback, gpointer user_data) { MatePanelAppletFactory* factory; |