Fixed gnome compiling
authorIvan Gomez <igomez@igalia.com>
Thu, 7 May 2009 16:19:17 +0000 (18:19 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Sun, 10 May 2009 11:15:32 +0000 (13:15 +0200)
src/modest-address-book-dummy.c
src/widgets/modest-gtkhtml-msg-view.c
src/widgets/modest-window.c

index c99a1d5..0e6fa9f 100644 (file)
@@ -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;
 }
index c6f13ab..469d6d7 100644 (file)
@@ -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 */
index 280eeda..d7e33f9 100644 (file)
 #include "modest-window-mgr.h"
 #include "modest-defs.h"
 #include <string.h> /* for strcmp */
-#include <hildon/hildon-defines.h>
 #include <gdk/gdkkeysyms.h>
 #include <gdk/gdk.h>
 #include <gdk/gdkx.h>
 #include <X11/Xatom.h>
 #include <X11/XKBlib.h>
 #include <X11/Xdmcp.h>
+#ifdef MODEST_TOOLKIT_HILDON2
+#include <hildon/hildon-defines.h>
+#endif
 
 /* 'private'/'protected' functions */
 static void modest_window_class_init (ModestWindowClass *klass);