X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-hildon-includes.h;h=1f7b41d30e17228bdc88d7b51f49fccc67da151a;hb=dc8f54614842e26487dcf6e598aa359febec6281;hp=d92ec05bff04025bd8c6113be60a91121bd58cb4;hpb=74a9c50ab4d857d13fbefd9c0dbe04d43a9c2898;p=modest diff --git a/src/maemo/modest-hildon-includes.h b/src/maemo/modest-hildon-includes.h index d92ec05..1f7b41d 100644 --- a/src/maemo/modest-hildon-includes.h +++ b/src/maemo/modest-hildon-includes.h @@ -58,8 +58,7 @@ k * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, #include #endif /*MODEST_HILDON_NOTIFY*/ - -#ifdef MODEST_HAVE_HILDON0_WIDGETS +#if MODEST_HILDON_API == 0 #include #include #include @@ -70,10 +69,11 @@ k * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, #include #include #include +#include #else -#ifdef MODEST_HAVE_HILDON1_WIDGETS +#if MODEST_HILDON_API >= 1 #include #include #include @@ -86,6 +86,7 @@ k * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, #include #include #include +#include #endif /*__MODEST_HAVE_HILDON1_WIDGETS*/ #endif /*__MODEST_HAVE_HILDON0_WIDGETS_*/ @@ -125,11 +126,11 @@ k * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, /* some extra #defines, so it will compile with the 'normal' gtk */ #ifndef MODEST_HAVE_HILDON_GTK #define hildon_gtk_entry_set_input_mode(a,b) \ - g_warning ("%s: hildon_gtk_entry_set_input_mode requires gtk-hildon", __FUNCTION__) + g_debug ("%s: hildon_gtk_entry_set_input_mode requires gtk-hildon", __FUNCTION__) #define hildon_gtk_text_view_set_input_mode(a,b) \ - g_warning ("%s: hildon_gtk_text_view_set_input_mode requires gtk-hildon", __FUNCTION__) + g_debug ("%s: hildon_gtk_text_view_set_input_mode requires gtk-hildon", __FUNCTION__) #define gtk_widget_tap_and_hold_setup(a,b,c,d) \ - g_warning ("%s: gtk_widget_tap_and_hold_setup requires gtk-hildon", __FUNCTION__) + g_debug ("%s: gtk_widget_tap_and_hold_setup requires gtk-hildon", __FUNCTION__) typedef enum { @@ -152,7 +153,4 @@ typedef enum } HildonGtkInputMode; #endif /* !MODEST_HAVE_HILDON_GTK */ - - - #endif /*__MODEST_HILDON_INCLUDES__*/