cpw.qulogic.gtk3: 98b447a0: It appears that no-one needs this AopMen...

qulogic at pidgin.im qulogic at pidgin.im
Thu Dec 29 03:07:06 EST 2011


----------------------------------------------------------------------
Revision: 98b447a0741600dcee30468933c75b8c19a39bf6
Parent:   a927fe43f41e4248cad0c94e5fd21e89be055fcb
Author:   qulogic at pidgin.im
Date:     12/29/11 00:40:11
Branch:   im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/98b447a0741600dcee30468933c75b8c19a39bf6

Changelog: 

It appears that no-one needs this AopMenu struct after the combo
box is updated.

Changes against parent a927fe43f41e4248cad0c94e5fd21e89be055fcb

  patched  pidgin/gtkutils.c

-------------- next part --------------
============================================================
--- pidgin/gtkutils.c	94c4ee35da43718937ef50c8ae2549952dfe5d7d
+++ pidgin/gtkutils.c	6faf1b76248f313a2c9162d7d42127164b012f38
@@ -627,7 +627,7 @@ aop_option_menu_replace_menu(GtkWidget *
 {
 	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 *


More information about the Commits mailing list