diff options
author | Ted Gould <ted@gould.cx> | 2011-03-22 15:36:24 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-03-22 15:36:24 -0500 |
commit | 3dbe8f6e4c67a20123850253bde758811fb97dbc (patch) | |
tree | f69b0ae1764b9794e31665ac4346ec527bf72609 /libdbusmenu-glib | |
parent | 2eda7d871f7ece27a8c824e16616989d16203b5e (diff) | |
parent | a7c1e6c502cdc834617c59d157a3b787a5e8b0c7 (diff) | |
download | libdbusmenu-3dbe8f6e4c67a20123850253bde758811fb97dbc.tar.gz libdbusmenu-3dbe8f6e4c67a20123850253bde758811fb97dbc.tar.bz2 libdbusmenu-3dbe8f6e4c67a20123850253bde758811fb97dbc.zip |
Brown paper bag
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index 018508c..825f3cb 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -1382,7 +1382,7 @@ menuitem_get_properties_replace_cb (GVariant * properties, GError * error, gpoin while (g_variant_iter_loop(&iter, "{sv}", &name, &value) && have_error == FALSE) { for (tmp = current_props; tmp != NULL; tmp = g_list_next(tmp)) { if (g_strcmp0((gchar *)tmp->data, name) == 0) { - current_props = g_list_remove(current_props, tmp); + current_props = g_list_delete_link(current_props, tmp); break; } } |