aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-offline-handler.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-05-09 23:00:46 +0800
committerJeremy Katz <katzj@src.gnome.org>2003-05-09 23:00:46 +0800
commit7b20b772d2460427ceefa7c463ed8f874762f57b (patch)
tree4092cd334d126ee51ebbc264fd89adc99434e6df /shell/e-shell-offline-handler.c
parent56e678a74896006f89657d2ac86fa03c846a6d7a (diff)
downloadgsoc2013-evolution-7b20b772d2460427ceefa7c463ed8f874762f57b.tar
gsoc2013-evolution-7b20b772d2460427ceefa7c463ed8f874762f57b.tar.gz
gsoc2013-evolution-7b20b772d2460427ceefa7c463ed8f874762f57b.tar.bz2
gsoc2013-evolution-7b20b772d2460427ceefa7c463ed8f874762f57b.tar.lz
gsoc2013-evolution-7b20b772d2460427ceefa7c463ed8f874762f57b.tar.xz
gsoc2013-evolution-7b20b772d2460427ceefa7c463ed8f874762f57b.tar.zst
gsoc2013-evolution-7b20b772d2460427ceefa7c463ed8f874762f57b.zip
Add a #include to fix a warning.
2003-05-09 Jeremy Katz <katzj@redhat.com> * 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
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