summaryrefslogtreecommitdiff
path: root/vapi/libpanelapplet-2.0.vapi
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-03-02 12:47:32 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-03-02 12:47:32 +0000
commit0ae3bd5eb480413356668602a93dcca3a84dfd26 (patch)
treec1a27333d38315410a8269138deb7858b75fa959 /vapi/libpanelapplet-2.0.vapi
parent870650b08eee1394f77b91769eeb1a77243685bc (diff)
downloadvala-0ae3bd5eb480413356668602a93dcca3a84dfd26.tar.gz
add incomplete libbonoboui-2.0 bindings, improve libpanelapplet-2.0
2008-03-02 Juerg Billeter <j@bitron.ch> * vapi/libbonoboui-2.0.vapi, vapi/libpanelapplet-2.0.deps, vapi/libpanelapplet-2.0.vapi: add incomplete libbonoboui-2.0 bindings, improve libpanelapplet-2.0 bindings, patch by Andrea Del Signore svn path=/trunk/; revision=1087
Diffstat (limited to 'vapi/libpanelapplet-2.0.vapi')
-rw-r--r--vapi/libpanelapplet-2.0.vapi6
1 files changed, 4 insertions, 2 deletions
diff --git a/vapi/libpanelapplet-2.0.vapi b/vapi/libpanelapplet-2.0.vapi
index ddcaedc80..a39614bae 100644
--- a/vapi/libpanelapplet-2.0.vapi
+++ b/vapi/libpanelapplet-2.0.vapi
@@ -26,8 +26,10 @@ namespace Panel {
public Applet ();
public string get_preferences_key ();
public void set_flags (AppletFlags flags);
- public static int factory_main (string iid, GLib.Type applet_type, AppletFactoryCallback callback, pointer data);
+ public static int factory_main (string iid, GLib.Type applet_type, AppletFactoryCallback callback);
public void set_background_widget (Gtk.Widget widget);
+ [NoArrayLength]
+ public void setup_menu (string xml, BonoboUI.Verb[] verb_list, void* data);
public signal void change_background (AppletBackgroundType type, ref Gdk.Color color, Gdk.Pixmap pixmap);
}
@@ -46,6 +48,6 @@ namespace Panel {
HAS_HANDLE
}
- public static delegate bool AppletFactoryCallback (Applet applet, string iid, pointer user_data);
+ public delegate bool AppletFactoryCallback (Applet applet, string iid);
}