X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-hildon-includes.h;h=81e940619be520e098b57f75002e57d03f183473;hp=6dd1306eb6f51fda900b15114a46fb73a145528a;hb=4db44f57690ed2e6f418a12a2e0eeddf4cf22084;hpb=a7be4d9c27d5a6074f3a1701b12bcc2c45887022 diff --git a/src/hildon2/modest-hildon-includes.h b/src/hildon2/modest-hildon-includes.h index 6dd1306..81e9406 100644 --- a/src/hildon2/modest-hildon-includes.h +++ b/src/hildon2/modest-hildon-includes.h @@ -18,7 +18,7 @@ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER -k * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF @@ -58,22 +58,6 @@ k * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, #include #endif /*MODEST_HILDON_NOTIFY*/ -#if MODEST_HILDON_API == 0 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#else - -#if MODEST_HILDON_API >= 1 #include #include #include @@ -86,10 +70,14 @@ k * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, #include #include #include +#include #include - -#endif /*__MODEST_HAVE_HILDON1_WIDGETS*/ -#endif /*__MODEST_HAVE_HILDON0_WIDGETS_*/ +#include +#include +#include +#include +#include +#include /* backward compatibility... */ @@ -123,14 +111,18 @@ k * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, #endif /*MODEST_HAVE_HILDON_HELP*/ #endif /*MODEST_HAVE_OSSO_HELP*/ +#ifndef HILDON_CHECK_BUTTON +#define HILDON_CHECK_BUTTON GTK_BUTTON +#endif + /* 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 {