changeset 24600:8792c97479fd

disapproval of revision '4a3731f468487751f392e59106f3554b1e70bd9d'
author John Bailey <rekkanoryo@rekkanoryo.org>
date Thu, 11 Dec 2008 06:24:06 +0000
parents 8b429520f6c6
children 0ac34748464a
files pidgin/gtkutils.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Sat Dec 06 04:35:10 2008 +0000
+++ b/pidgin/gtkutils.c	Thu Dec 11 06:24:06 2008 +0000
@@ -3276,13 +3276,7 @@
 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);
 }