fix gcc 2 build again (bad thos)

2007-05-13  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (themes_init): fix gcc 2 build again (bad thos)

svn path=/trunk/; revision=7612
This commit is contained in:
Jens Granseuer 2007-05-13 16:35:57 +00:00 committed by Jens Granseuer
parent 2e4c1f2e64
commit d693498c6f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2007-05-13 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (themes_init): fix gcc 2 build again (bad thos)
2007-05-13 Jens Granseuer <jensgr@gmx.net>
* appearance-desktop.c: (appearance_window_response):

View file

@ -51,6 +51,7 @@ themes_init (AppearanceData *data)
GtkWidget *w;
GList *theme_list, *l;
GtkListStore *theme_store;
GtkTreeModel *sort_model;
/* initialise some stuff */
gnome_theme_init (NULL);
@ -85,7 +86,7 @@ themes_init (AppearanceData *data)
g_list_free (theme_list);
w = glade_xml_get_widget (data->xml, "theme_list");
GtkTreeModel *sort_model = gtk_tree_model_sort_new_with_model (GTK_TREE_MODEL (theme_store));
sort_model = gtk_tree_model_sort_new_with_model (GTK_TREE_MODEL (theme_store));
gtk_icon_view_set_model (GTK_ICON_VIEW (w), GTK_TREE_MODEL (sort_model));
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (sort_model), THEME_DISPLAY_NAME_COLUMN, GTK_SORT_ASCENDING);