aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-25 21:41:48 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-25 21:54:55 +0800
commit3e1b34841d3a699f77848f5de019f18ccb2d1ca1 (patch)
tree9e13e7a220a5525681a0516b32bbd9def5611e8d /widgets/misc
parentf49077cfb57ade9013674487a1f371da7c038709 (diff)
downloadgsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.gz
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.bz2
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.lz
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.xz
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.zst
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.zip
Fix compiler warnings.
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-preferences-window.c4
-rw-r--r--widgets/misc/e-preferences-window.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/widgets/misc/e-preferences-window.c b/widgets/misc/e-preferences-window.c
index 8fa4fcf85f..d6ee321f5d 100644
--- a/widgets/misc/e-preferences-window.c
+++ b/widgets/misc/e-preferences-window.c
@@ -108,7 +108,7 @@ preferences_window_selection_changed_cb (EPreferencesWindow *window)
if (list == NULL)
return;
- model = window->priv->store;
+ model = GTK_TREE_MODEL (window->priv->store);
gtk_tree_model_get_iter (model, &iter, list->data);
gtk_tree_model_get (model, &iter, COLUMN_PAGE, &page, -1);
@@ -405,7 +405,7 @@ e_preferences_window_add_page (EPreferencesWindow *window,
notebook = GTK_NOTEBOOK (window->priv->notebook);
page = gtk_notebook_get_n_pages (notebook);
- model = window->priv->store;
+ model = GTK_TREE_MODEL (window->priv->store);
pixbuf = preferences_window_load_pixbuf (icon_name);
gtk_list_store_append (GTK_LIST_STORE (model), &iter);
diff --git a/widgets/misc/e-preferences-window.h b/widgets/misc/e-preferences-window.h
index 97f0da85e2..00b51b85e1 100644
--- a/widgets/misc/e-preferences-window.h
+++ b/widgets/misc/e-preferences-window.h
@@ -68,8 +68,8 @@ void e_preferences_window_add_page (EPreferencesWindow *window,
gint sort_order);
void e_preferences_window_show_page (EPreferencesWindow *window,
const gchar *page_name);
-void e_preferences_window_filter_page (EPreferencesWindow *window,
- const gchar *page_name);
+void e_preferences_window_filter_page(EPreferencesWindow *window,
+ const gchar *page_name);
G_END_DECLS