summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Šimerda <psimerda@redhat.com>2015-01-15 11:50:06 +0100
committerDan Williams <dcbw@redhat.com>2015-02-16 13:19:22 -0600
commitc1d8bfc4f7d0d143ea0a3f68e05577689c2699ae (patch)
treecc2907e61230993a271b0b8af8d7915e0e6aedc2
parent97354a9daca879db1e6fb87dc1f3ffd026af4cc6 (diff)
downloadnetwork-manager-applet-c1d8bfc4f7d0d143ea0a3f68e05577689c2699ae.tar.gz
applet: don't unref menu item widgets
The widgets are owned by their respective containers. They get unreffed and disposed with the menu item. This caused problems with the appindicator patches where the whole menu is destroyed and recreated. https://bugzilla.gnome.org/show_bug.cgi?id=740574
-rw-r--r--src/ap-menu-item.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ap-menu-item.c b/src/ap-menu-item.c
index 1f096c7b..69218a76 100644
--- a/src/ap-menu-item.c
+++ b/src/ap-menu-item.c
@@ -82,11 +82,6 @@ nm_network_menu_item_dispose (GObject *object)
return;
}
- gtk_widget_destroy (item->ssid);
- gtk_widget_destroy (item->strength);
- gtk_widget_destroy (item->detail);
- gtk_widget_destroy (item->hbox);
-
item->destroyed = TRUE;
g_free (item->hash);
g_free (item->ssid_string);