diff options
author | Ted Gould <ted@canonical.com> | 2009-08-27 08:30:16 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-08-27 08:30:16 -0500 |
commit | 287122c696ddf0cc0e00a0f7e39663024aaf5e6d (patch) | |
tree | faca9d6c53319c1ba13eee0b10279df215367537 | |
parent | c2a08568e054ace4d5cf6425e6fb0924ab4d2129 (diff) | |
download | libdbusmenu-287122c696ddf0cc0e00a0f7e39663024aaf5e6d.tar.gz libdbusmenu-287122c696ddf0cc0e00a0f7e39663024aaf5e6d.tar.bz2 libdbusmenu-287122c696ddf0cc0e00a0f7e39663024aaf5e6d.zip |
Comment for Neil. Checking data.
-rw-r--r-- | libdbusmenu-glib/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index ffde8e3..9004f55 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -537,6 +537,8 @@ menuitem_get_properties_cb (DBusGProxy * proxy, GHashTable * properties, GError static void menuitem_get_properties_new_cb (DBusGProxy * proxy, GHashTable * properties, GError * error, gpointer data) { + g_return_if_fail(data != NULL); + newItemPropData * propdata = (newItemPropData *)data; DbusmenuClientPrivate * priv = DBUSMENU_CLIENT_GET_PRIVATE(propdata->client); |