HildonDialog is deprecated, GtkDialog is the recommended widget
https://bugs.maemo.org/show_bug.cgi?id=5188
GtkWidget *pannable;
const gchar *visible_id = NULL;
GtkWidget *pannable;
const gchar *visible_id = NULL;
- userdata.dialog = hildon_dialog_new ();
+ userdata.dialog = gtk_dialog_new ();
pannable = hildon_pannable_area_new ();
folder_view = modest_platform_create_folder_view (NULL);
pannable = hildon_pannable_area_new ();
folder_view = modest_platform_create_folder_view (NULL);
(GInstanceInitFunc) modest_global_settings_dialog_init,
NULL
};
(GInstanceInitFunc) modest_global_settings_dialog_init,
NULL
};
-#ifdef MODEST_TOOLKIT_HILDON2
- my_type = g_type_register_static (HILDON_TYPE_DIALOG,
- "ModestGlobalSettingsDialog",
- &my_info, 0);
-#else
my_type = g_type_register_static (GTK_TYPE_DIALOG,
"ModestGlobalSettingsDialog",
&my_info, 0);
my_type = g_type_register_static (GTK_TYPE_DIALOG,
"ModestGlobalSettingsDialog",
&my_info, 0);
#ifndef __MODEST_GLOBAL_SETTINGS_DIALOG_H__
#define __MODEST_GLOBAL_SETTINGS_DIALOG_H__
#ifndef __MODEST_GLOBAL_SETTINGS_DIALOG_H__
#define __MODEST_GLOBAL_SETTINGS_DIALOG_H__
-#ifdef MODEST_TOOLKIT_HILDON2
-#include <hildon/hildon-dialog.h>
-#else
-#include <gtk/gtkdialog.h>
-#endif
#include "widgets/modest-global-settings-dialog-priv.h"
#include "modest-platform.h"
/* other include files */
#include "widgets/modest-global-settings-dialog-priv.h"
#include "modest-platform.h"
/* other include files */
typedef struct _ModestGlobalSettingsDialogClass ModestGlobalSettingsDialogClass;
struct _ModestGlobalSettingsDialog {
typedef struct _ModestGlobalSettingsDialogClass ModestGlobalSettingsDialogClass;
struct _ModestGlobalSettingsDialog {
-#ifdef MODEST_TOOLKIT_HILDON2
- HildonDialog parent;
-#else
};
struct _ModestGlobalSettingsDialogClass {
};
struct _ModestGlobalSettingsDialogClass {
-#ifdef MODEST_TOOLKIT_HILDON2
- HildonDialogClass parent_class;
-#else
GtkDialogClass parent_class;
GtkDialogClass parent_class;
/* Returns the current connection method. Assumes that the device is online */
ModestConnectedVia (*current_connection_func) (void);
/* Returns the current connection method. Assumes that the device is online */
ModestConnectedVia (*current_connection_func) (void);