From 9d51279acef224bb3087d8e0148ff4b8e9363303 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Sun, 26 Jan 2003 04:04:52 +0000 Subject: GObjectify this. 2003-01-25 Chris Toshok * e-pilot-settings.[ch]: GObjectify this. svn path=/trunk/; revision=19629 --- e-util/e-pilot-settings.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'e-util/e-pilot-settings.h') diff --git a/e-util/e-pilot-settings.h b/e-util/e-pilot-settings.h index 295977c406..908f9e1836 100644 --- a/e-util/e-pilot-settings.h +++ b/e-util/e-pilot-settings.h @@ -28,7 +28,7 @@ #include #endif -#include +#include #ifdef __cplusplus extern "C" { @@ -36,10 +36,10 @@ extern "C" { #endif /* __cplusplus */ #define E_TYPE_PILOT_SETTINGS (e_pilot_settings_get_type ()) -#define E_PILOT_SETTINGS(obj) (GTK_CHECK_CAST ((obj), E_TYPE_PILOT_SETTINGS, EPilotSettings)) -#define E_PILOT_SETTINGS_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_PILOT_SETTINGS, EPilotSettingsClass)) -#define E_IS_PILOT_SETTINGS(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_PILOT_SETTINGS)) -#define E_IS_PILOT_SETTINGS_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_PILOT_SETTINGS)) +#define E_PILOT_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_PILOT_SETTINGS, EPilotSettings)) +#define E_PILOT_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_PILOT_SETTINGS, EPilotSettingsClass)) +#define E_IS_PILOT_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_PILOT_SETTINGS)) +#define E_IS_PILOT_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TYPE_PILOT_SETTINGS)) typedef struct _EPilotSettings EPilotSettings; @@ -60,7 +60,7 @@ struct _EPilotSettingsClass { }; -GtkType e_pilot_settings_get_type (void); +GType e_pilot_settings_get_type (void); GtkWidget *e_pilot_settings_new (void); gboolean e_pilot_settings_get_secret (EPilotSettings *ps); -- cgit