From 7b20b772d2460427ceefa7c463ed8f874762f57b Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 9 May 2003 15:00:46 +0000 Subject: Add a #include to fix a warning. 2003-05-09 Jeremy Katz * main.c: Add a #include to fix a warning. * e-shell-offline-handler.c (update_dialog_clist): Use a list store instead of a tree model for the store. svn path=/trunk/; revision=21136 --- shell/e-shell-offline-handler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shell/e-shell-offline-handler.c') diff --git a/shell/e-shell-offline-handler.c b/shell/e-shell-offline-handler.c index 4b22bdbf1d..4e87d3dcae 100644 --- a/shell/e-shell-offline-handler.c +++ b/shell/e-shell-offline-handler.c @@ -33,6 +33,7 @@ #include "e-shell-marshal.h" +#include #include #include #include @@ -548,8 +549,7 @@ update_dialog_clist (EShellOfflineHandler *offline_handler) { EShellOfflineHandlerPrivate *priv; GtkWidget *tree_view; - GtkTreeModel *model; - GtkTreeModel *model_sort; + GtkListStore *model; GtkCellRenderer *renderer; GtkTreeViewColumn *column; @@ -569,7 +569,7 @@ update_dialog_clist (EShellOfflineHandler *offline_handler) model = gtk_list_store_new (1, G_TYPE_STRING); g_hash_table_foreach (priv->id_to_component_info, update_dialog_tree_view_hash_foreach, model); - gtk_tree_view_set_model (GTK_TREE_VIEW (tree_view), model); + gtk_tree_view_set_model (GTK_TREE_VIEW (tree_view), GTK_TREE_MODEL(model)); } static void -- cgit