From c6037f8b815e98c569716ab2189b67a5f4de886b Mon Sep 17 00:00:00 2001 From: Ivan Gomez Date: Thu, 7 May 2009 18:19:17 +0200 Subject: [PATCH] Fixed gnome compiling --- src/modest-address-book-dummy.c | 2 +- src/widgets/modest-gtkhtml-msg-view.c | 3 +++ src/widgets/modest-window.c | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/modest-address-book-dummy.c b/src/modest-address-book-dummy.c index c99a1d5..0e6fa9f 100644 --- a/src/modest-address-book-dummy.c +++ b/src/modest-address-book-dummy.c @@ -42,7 +42,7 @@ void modest_address_book_add_address (const gchar *address) void modest_address_book_select_addresses (ModestRecptEditor *editor, - GtkWindow *parent_window); + GtkWindow *parent_window) { return; } diff --git a/src/widgets/modest-gtkhtml-msg-view.c b/src/widgets/modest-gtkhtml-msg-view.c index c6f13ab..469d6d7 100644 --- a/src/widgets/modest-gtkhtml-msg-view.c +++ b/src/widgets/modest-gtkhtml-msg-view.c @@ -1885,11 +1885,14 @@ set_priority (ModestGtkhtmlMsgView *self, TnyHeaderFlags flags) gtk_image_set_from_icon_name (GTK_IMAGE (priv->priority_icon), MODEST_HEADER_ICON_LOW, GTK_ICON_SIZE_MENU); } +#ifdef MODEST_TOOLKIT_HILDON2 if (show_priority && MODEST_IS_COMPACT_MAIL_HEADER_VIEW (priv->mail_header_view)) { gtk_widget_show_all (priv->priority_box); } else { gtk_widget_hide_all (priv->priority_box); } +#endif + } /* INCREMENTAL SEARCH IMPLEMENTATION */ diff --git a/src/widgets/modest-window.c b/src/widgets/modest-window.c index 280eeda..d7e33f9 100644 --- a/src/widgets/modest-window.c +++ b/src/widgets/modest-window.c @@ -35,13 +35,15 @@ #include "modest-window-mgr.h" #include "modest-defs.h" #include /* for strcmp */ -#include #include #include #include #include #include #include +#ifdef MODEST_TOOLKIT_HILDON2 +#include +#endif /* 'private'/'protected' functions */ static void modest_window_class_init (ModestWindowClass *klass); -- 1.7.9.5