From 0152c3a3f792de4b33e73d01a5697efc3c399f06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergio=20Villar=20Sen=C3=ADn?= Date: Fri, 5 Feb 2010 10:06:56 +0100 Subject: [PATCH] Build fixes --- src/widgets/modest-account-view-window.c | 2 +- src/widgets/modest-accounts-window.c | 4 ++-- src/widgets/modest-folder-window.c | 2 +- src/widgets/modest-header-window.c | 2 +- src/widgets/modest-mailboxes-window.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/widgets/modest-account-view-window.c b/src/widgets/modest-account-view-window.c index 6c8c502..d4f7af8 100644 --- a/src/widgets/modest-account-view-window.c +++ b/src/widgets/modest-account-view-window.c @@ -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); diff --git a/src/widgets/modest-accounts-window.c b/src/widgets/modest-accounts-window.c index 581545b..6483b0a 100644 --- a/src/widgets/modest-accounts-window.c +++ b/src/widgets/modest-accounts-window.c @@ -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 diff --git a/src/widgets/modest-folder-window.c b/src/widgets/modest-folder-window.c index b581789..09cd22a 100644 --- a/src/widgets/modest-folder-window.c +++ b/src/widgets/modest-folder-window.c @@ -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); diff --git a/src/widgets/modest-header-window.c b/src/widgets/modest-header-window.c index 734f7f1..04e24a6 100644 --- a/src/widgets/modest-header-window.c +++ b/src/widgets/modest-header-window.c @@ -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)); diff --git a/src/widgets/modest-mailboxes-window.c b/src/widgets/modest-mailboxes-window.c index 28cddde..8d9891f 100644 --- a/src/widgets/modest-mailboxes-window.c +++ b/src/widgets/modest-mailboxes-window.c @@ -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); -- 1.7.9.5