aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/client.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2012-02-15 21:38:27 +0100
committerSebastien Bacher <seb128@ubuntu.com>2012-02-15 21:38:27 +0100
commitbe1db87a7e1997e5dd1b69948136c30c7c39d960 (patch)
treef22ea28af5a331799fb6aca0c900a73e9a476720 /libdbusmenu-glib/client.c
parentba23a1f5d6bed315132fb45ff7a63384e2da4e42 (diff)
parent49e45c8b23af0926ec04c50a4ac53068abba21db (diff)
downloadlibdbusmenu-be1db87a7e1997e5dd1b69948136c30c7c39d960.tar.gz
libdbusmenu-be1db87a7e1997e5dd1b69948136c30c7c39d960.tar.bz2
libdbusmenu-be1db87a7e1997e5dd1b69948136c30c7c39d960.zip
* debian/control:
- drop git binaries, the libdev depends on it - set ubuntu vcs - use the current vala version [ Ted Gould ] * New upstream release. * Remove unused const on GStrv's * Only free when there is data to free * Ensure that we only return once even with error (LP: #929856) * Fix an error on a failure to send properties (LP: #929707) * Ensure the hash variant isn't NULL in the comparison (LP: #929710) * Fix some of the issues with throwing criticals * Ensure our tests fail if they throw criticals * Parse and handle a11y descriptions * Don't pass NULL to ATK * Non-srcdir build fixes
Diffstat (limited to 'libdbusmenu-glib/client.c')
-rw-r--r--libdbusmenu-glib/client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index a2330d1..e64d923 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -395,7 +395,7 @@ dbusmenu_client_dispose (GObject *object)
/* Only used for queueing up a new command, so we can
just drop this array. */
- if (priv->delayed_property_list == NULL) {
+ if (priv->delayed_property_list != NULL) {
gchar ** dataregion = (gchar **)g_array_free(priv->delayed_property_list, FALSE);
if (dataregion != NULL) {
g_strfreev(dataregion);
@@ -403,7 +403,7 @@ dbusmenu_client_dispose (GObject *object)
priv->delayed_property_list = NULL;
}
- if (priv->delayed_property_listeners == NULL) {
+ if (priv->delayed_property_listeners != NULL) {
gint i;
GError * localerror = NULL;
@@ -2210,7 +2210,7 @@ dbusmenu_client_get_status (DbusmenuClient * client)
* memory managed by the client. Duplicate if you want
* to keep them.
*/
-const GStrv
+GStrv
dbusmenu_client_get_icon_paths (DbusmenuClient * client)
{
g_return_val_if_fail(DBUSMENU_IS_CLIENT(client), NULL);