From 3e1b34841d3a699f77848f5de019f18ccb2d1ca1 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 25 May 2010 09:41:48 -0400 Subject: Fix compiler warnings. --- widgets/misc/e-preferences-window.c | 4 ++-- widgets/misc/e-preferences-window.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'widgets') 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 -- cgit v1.2.3