Build fixes
authorSergio Villar Senín <svillar@igalia.com>
Fri, 5 Feb 2010 09:06:56 +0000 (10:06 +0100)
committerSergio Villar Senín <svillar@igalia.com>
Fri, 5 Feb 2010 09:09:51 +0000 (10:09 +0100)
src/widgets/modest-account-view-window.c
src/widgets/modest-accounts-window.c
src/widgets/modest-folder-window.c
src/widgets/modest-header-window.c
src/widgets/modest-mailboxes-window.c

index 6c8c502..d4f7af8 100644 (file)
@@ -216,7 +216,7 @@ modest_account_view_window_init (ModestAccountViewWindow *self)
 
 #ifdef MODEST_TOOLKIT_HILDON2
        live_search = modest_account_view_setup_live_search (MODEST_ACCOUNT_VIEW (priv->account_view));
-       hildon_live_search_widget_hook (HILDON_LIVE_SEARCH (live_search), GTK_WIDGET (self), GTK_WIDGET (priv->account_view));
+       hildon_live_search_widget_hook (HILDON_LIVE_SEARCH (live_search), GTK_WIDGET (self), GTK_TREE_VIEW (priv->account_view));
 #endif
 
        modest_account_view_set_picker_mode (MODEST_ACCOUNT_VIEW (priv->account_view), TRUE);
index 581545b..6483b0a 100644 (file)
@@ -239,7 +239,7 @@ connect_signals (ModestAccountsWindow *self)
                                           G_CALLBACK (on_row_deleted), self);
 
 #ifdef MODEST_TOOLKIT_HILDON2
-       priv->sighandlers = 
+       priv->sighandlers =
                modest_signal_mgr_connect (priv->sighandlers,
                                           G_OBJECT (priv->new_message_button),
                                           "clicked",
@@ -380,7 +380,7 @@ modest_accounts_window_new (void)
        priv->account_view  = GTK_WIDGET (modest_account_view_new (modest_runtime_get_account_mgr ()));
 #ifdef MODEST_TOOLKIT_HILDON2
        live_search = modest_account_view_setup_live_search (MODEST_ACCOUNT_VIEW (priv->account_view));
-       hildon_live_search_widget_hook (HILDON_LIVE_SEARCH (live_search), GTK_WIDGET (self), priv->account_view);
+       hildon_live_search_widget_hook (HILDON_LIVE_SEARCH (live_search), GTK_WIDGET (self), GTK_TREE_VIEW (priv->account_view));
        gtk_box_pack_start (GTK_BOX (priv->box), live_search, FALSE, FALSE, 0);
 #endif
 
index b581789..09cd22a 100644 (file)
@@ -355,7 +355,7 @@ modest_folder_window_new (TnyFolderStoreQuery *query)
        priv->folder_view  = modest_platform_create_folder_view (query);
 #ifdef MODEST_TOOLKIT_HILDON2
        live_search = modest_folder_view_setup_live_search (MODEST_FOLDER_VIEW (priv->folder_view));
-       hildon_live_search_widget_hook (HILDON_LIVE_SEARCH (live_search), GTK_WIDGET (self), priv->folder_view);
+       hildon_live_search_widget_hook (HILDON_LIVE_SEARCH (live_search), GTK_WIDGET (self), GTK_TREE_VIEW (priv->folder_view));
 #endif
        modest_folder_view_set_cell_style (MODEST_FOLDER_VIEW (priv->folder_view),
                                           MODEST_FOLDER_VIEW_CELL_STYLE_COMPACT);
index 734f7f1..04e24a6 100644 (file)
@@ -792,7 +792,7 @@ modest_header_window_new (TnyFolder *folder, const gchar *account_name, const gc
        priv->header_view  = create_header_view (MODEST_WINDOW (self), folder);
 #ifdef MODEST_TOOLKIT_HILDON2
        live_search = modest_header_view_setup_live_search (MODEST_HEADER_VIEW (priv->header_view));
-       hildon_live_search_widget_hook (HILDON_LIVE_SEARCH (live_search), GTK_WIDGET (self), priv->header_view);
+       hildon_live_search_widget_hook (HILDON_LIVE_SEARCH (live_search), GTK_WIDGET (self), GTK_TREE_VIEW (priv->header_view));
 #endif
        priv->empty_view = create_empty_view (MODEST_WINDOW (self));
 
index 28cddde..8d9891f 100644 (file)
@@ -300,7 +300,7 @@ modest_mailboxes_window_new (const gchar *account)
        priv->folder_view  = modest_platform_create_folder_view (NULL);
 #ifdef MODEST_TOOLKIT_HILDON2
        live_search = modest_folder_view_setup_live_search (MODEST_FOLDER_VIEW (priv->folder_view));
-       hildon_live_search_widget_hook (HILDON_LIVE_SEARCH (live_search), GTK_WIDGET (self), priv->folder_view);
+       hildon_live_search_widget_hook (HILDON_LIVE_SEARCH (live_search), GTK_WIDGET (self), GTK_TREE_VIEW (priv->folder_view));
 #endif
        modest_folder_view_set_cell_style (MODEST_FOLDER_VIEW (priv->folder_view),
                                           MODEST_FOLDER_VIEW_CELL_STYLE_COMPACT);