aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-offline-handler.c6
-rw-r--r--shell/main.c1
3 files changed, 11 insertions, 3 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index e2bcae1ae9..0ee2de2aab 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2003-05-08 Ettore Perazzoli <ettore@ximian.com>
[#42342]
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
diff --git a/shell/main.c b/shell/main.c
index e41058377f..37cb7cdc8b 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -24,6 +24,7 @@
#include "e-util/e-dialog-utils.h"
#include "e-util/e-gtk-utils.h"
+#include "e-util/e-proxy.h"
#include "e-icon-factory.h"
#include "e-shell-constants.h"