aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-offline-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-offline-handler.c')
-rw-r--r--shell/e-shell-offline-handler.c6
1 files changed, 3 insertions, 3 deletions
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 <gtk/gtkcellrenderertext.h>
#include <gtk/gtkclist.h>
#include <gtk/gtkdialog.h>
#include <gtk/gtklabel.h>
@@ -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