From d41d1003c3933e0f4116b231650a715c0156501b Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 22 Sep 2010 10:01:52 -0500 Subject: Reintroduce the typedef so we don't break the API --- libdbusmenu-glib/menuitem.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libdbusmenu-glib/menuitem.h') 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 @@ -94,6 +94,16 @@ struct _DbusmenuMenuitem GObject parent; }; +/** + * 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 -- cgit v1.2.3