diff options
author | Ted Gould <ted@gould.cx> | 2010-09-22 10:01:52 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-09-22 10:01:52 -0500 |
commit | d41d1003c3933e0f4116b231650a715c0156501b (patch) | |
tree | 6eea7c845ecf589f83124dc7316dc90f670df239 /libdbusmenu-glib/menuitem.h | |
parent | d7c35c09381063b16ef2221fd3edf1d537ac5578 (diff) | |
download | libdbusmenu-d41d1003c3933e0f4116b231650a715c0156501b.tar.gz libdbusmenu-d41d1003c3933e0f4116b231650a715c0156501b.tar.bz2 libdbusmenu-d41d1003c3933e0f4116b231650a715c0156501b.zip |
Reintroduce the typedef so we don't break the API
Diffstat (limited to 'libdbusmenu-glib/menuitem.h')
-rw-r--r-- | libdbusmenu-glib/menuitem.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libdbusmenu-glib/menuitem.h b/libdbusmenu-glib/menuitem.h index a505c9c..d7cf586 100644 --- a/libdbusmenu-glib/menuitem.h +++ b/libdbusmenu-glib/menuitem.h @@ -95,6 +95,16 @@ struct _DbusmenuMenuitem }; /** + * dbusmenu_menuitem_about_to_show_cb: + * @mi: Menu item that should be shown + * @user_data: (closure): Extra user data sent with the function + * + * Callback prototype for a callback that is called when the + * menu should be shown. + */ +typedef void (*dbusmenu_menuitem_about_to_show_cb) (DbusmenuMenuitem * mi, gpointer user_data); + +/** * dbusmenu_menuitem_buildxml_slot_t: * @mi: (in): Menu item that should be built from * @stringarray: (inout) (transfer none) (array) (element-type utf8): An array of strings that can be combined into an XML file. |