gtk_combo_box_set_active() takes a GtkComboBox *, not a GtkComboBoxText

*, as its argument.

svn path=/trunk/; revision=38535
This commit is contained in:
Guy Harris 2011-08-14 17:14:52 +00:00
parent 48166c84f4
commit 92c1858253
1 changed files with 1 additions and 1 deletions

View File

@ -2001,7 +2001,7 @@ static void options_interface_cb(GtkTreeView *view, GtkTreePath *path, GtkTreeVi
}
if (row.cfilter && (strlen(row.cfilter) > 0)) {
gtk_combo_box_text_prepend_text(GTK_COMBO_BOX_TEXT(filter_cm), row.cfilter);
gtk_combo_box_set_active(GTK_COMBO_BOX_TEXT(filter_cm), 0);
gtk_combo_box_set_active(GTK_COMBO_BOX(filter_cm), 0);
}
gtk_widget_set_tooltip_text(filter_cm,