diff -r 8bcb3e2fc210 -r c1b734a8f4fc pidgin/gtkutils.c --- 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); }