aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/client.h
diff options
context:
space:
mode:
authorMartin Pitt <martin@piware.de>2011-02-16 20:34:17 +0100
committerMartin Pitt <martin@piware.de>2011-02-16 20:34:17 +0100
commitbafe476c0fa84277c6136605680c3d349430db50 (patch)
treec0782cd949a4426b5eb75c914dabc34457029057 /libdbusmenu-glib/client.h
parent1847903e5d6eb97203ba77a9ee0a0648b5fdeb0c (diff)
downloadlibdbusmenu-bafe476c0fa84277c6136605680c3d349430db50.tar.gz
libdbusmenu-bafe476c0fa84277c6136605680c3d349430db50.tar.bz2
libdbusmenu-bafe476c0fa84277c6136605680c3d349430db50.zip
Fix GI annotations for Dbusmenu
Now everything is introspectable except for dbusmenu_client_add_type_handler{,_full}(). These do not take a standard GDestroyNotify argument, and thus the newfunc callback cannot get any valid scope annotation. To fix this we need to break the API and ABI.
Diffstat (limited to 'libdbusmenu-glib/client.h')
-rw-r--r--libdbusmenu-glib/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-glib/client.h b/libdbusmenu-glib/client.h
index 6d78edf..79c0ee2 100644
--- a/libdbusmenu-glib/client.h
+++ b/libdbusmenu-glib/client.h
@@ -145,7 +145,7 @@ gboolean dbusmenu_client_add_type_handler_full (DbusmenuClient * cli
const gchar * type,
DbusmenuClientTypeHandler newfunc,
gpointer user_data,
- DbusmenuClientTypeDestroyHandler destory_func);
+ DbusmenuClientTypeDestroyHandler destroy_func);
void dbusmenu_client_send_event (DbusmenuClient * client,
gint id,
const gchar * name,