aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-preferences-window.c
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/e-preferences-window.c
parentf49077cfb57ade9013674487a1f371da7c038709 (diff)
downloadgsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.gz
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.tar.zst
gsoc2013-evolution-3e1b34841d3a699f77848f5de019f18ccb2d1ca1.zip
Fix compiler warnings.
Diffstat (limited to 'widgets/misc/e-preferences-window.c')
-rw-r--r--widgets/misc/e-preferences-window.c4
1 files changed, 2 insertions, 2 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);