changeset 32708:c2df5063d430

It appears that no-one needs this AopMenu struct after the combo box is updated.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 29 Dec 2011 05:40:11 +0000
parents c7de9dc7c5b3
children e7441440bed5
files pidgin/gtkutils.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Thu Dec 29 05:36:32 2011 +0000
+++ b/pidgin/gtkutils.c	Thu Dec 29 05:40:11 2011 +0000
@@ -627,7 +627,7 @@
 {
 	gtk_combo_box_set_model(GTK_COMBO_BOX(optmenu), new_aop_menu->model);
 	gtk_combo_box_set_active(GTK_COMBO_BOX(optmenu), new_aop_menu->default_item);
-	g_object_set_data_full(G_OBJECT(optmenu), "aop_menu", new_aop_menu, (GDestroyNotify)g_free);
+	g_free(new_aop_menu);
 }
 
 static GdkPixbuf *