#include <gtk/gtkhbox.h>
#include <gtk/gtkvbox.h>
#include <gtk/gtkbutton.h>
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef MODEST_HILDON_VERSION_0
#include <hildon-widgets/hildon-defines.h>
+#else
+#include <hildon/hildon-defines.h>
+#endif /*MODEST_HILDON_VERSION_0*/
#include "modest-wizard-dialog.h"
#include <libintl.h>
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
/* Specify the hildon-libs translation domain,
* so we can reuse its translations
* instead of repeating them in our own translations.
gtk_dialog_set_has_separator (dialog, FALSE);
wizard_dialog->priv = priv;
priv->box = GTK_BOX (gtk_hbox_new (FALSE, 0));
+#ifdef MODEST_HILDON_VERSION_0
priv->image = gtk_image_new_from_icon_name ("qgn_widg_wizard",
HILDON_ICON_SIZE_WIDG_WIZARD);
-
+#else
+ priv->image = gtk_image_new_from_icon_name ("qgn_widg_wizard",
+ HILDON_ICON_SIZE_WIZARD);
+#endif /*MODEST_HILDON_VERSION_0*/
/* Default values for user provided properties */
priv->notebook = NULL;
priv->wizard_name = NULL;