filechooserentry: Don't use a magic number

... when we have a proper enum value for a column.
This commit is contained in:
Benjamin Otte 2011-11-05 22:36:16 +01:00
parent 92a72ce3e5
commit edddb666a7

View File

@ -223,7 +223,7 @@ _gtk_file_chooser_entry_init (GtkFileChooserEntry *chooser_entry)
cell, TRUE);
gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (comp),
cell,
"text", 0);
"text", DISPLAY_NAME_COLUMN);
g_signal_connect (comp, "match-selected",
G_CALLBACK (match_selected_callback), chooser_entry);