pidgin: 17b584b2: disapproval of revision '4a3731f46848775...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Thu Dec 11 03:46:07 EST 2008


-----------------------------------------------------------------
Revision: 17b584b23aee26cc5553b12483ab9b550eee8103
Ancestor: 4a3731f468487751f392e59106f3554b1e70bd9d
Author: rekkanoryo at pidgin.im
Date: 2008-12-11T06:24:06
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/17b584b23aee26cc5553b12483ab9b550eee8103

Modified files:
        pidgin/gtkutils.c

ChangeLog: 

disapproval of revision '4a3731f468487751f392e59106f3554b1e70bd9d'
-------------- next part --------------
============================================================
--- pidgin/gtkutils.c	80a5ddc5eb2b81eae6fbeceed8150403033daf93
+++ pidgin/gtkutils.c	5d3e217fe4eb4b27259aaceafb882cf2a2adcb29
@@ -3276,13 +3276,7 @@ combo_box_changed_cb(GtkComboBox *combo_
 static void
 combo_box_changed_cb(GtkComboBox *combo_box, GtkEntry *entry)
 {
-#if GTK_CHECK_VERSION(2, 6, 0)
 	char *text = gtk_combo_box_get_active_text(combo_box);
-#else
-	GtkWidget *widget = gtk_bin_get_child(GTK_BIN(combo_box));
-	char *text = g_strdup(gtk_entry_get_text(GTK_ENTRY(widget)));
-#endif
-
 	gtk_entry_set_text(entry, text ? text : "");
 	g_free(text);
 }


More information about the Commits mailing list