diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2008-05-23 01:27:48 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-05-23 01:27:48 +0800 |
commit | e99e12428d46db3be2878f6c2ca63bd7510149f4 (patch) | |
tree | f3e50bd91132262198bea8761f84913a232790bd /calendar/gui/gnome-cal.h | |
parent | e1d0bcf694c806af75cb4d9683d1941d9721a1f9 (diff) | |
download | gsoc2013-evolution-e99e12428d46db3be2878f6c2ca63bd7510149f4.tar.gz gsoc2013-evolution-e99e12428d46db3be2878f6c2ca63bd7510149f4.tar.zst gsoc2013-evolution-e99e12428d46db3be2878f6c2ca63bd7510149f4.zip |
** Fixes bug #534360
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #534360
Migrate from deprecated GtkObject symbols to GObject equivalents.
Touches over 150 files in all components; too many to list.
svn path=/trunk/; revision=35526
Diffstat (limited to 'calendar/gui/gnome-cal.h')
-rw-r--r-- | calendar/gui/gnome-cal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h index f370c5930a..cc3250f912 100644 --- a/calendar/gui/gnome-cal.h +++ b/calendar/gui/gnome-cal.h @@ -40,11 +40,11 @@ G_BEGIN_DECLS struct _EPopup; #define GNOME_TYPE_CALENDAR (gnome_calendar_get_type ()) -#define GNOME_CALENDAR(obj) (GTK_CHECK_CAST ((obj), GNOME_TYPE_CALENDAR, GnomeCalendar)) -#define GNOME_CALENDAR_CLASS(klass) (GTK_CHECK_CAST_CLASS ((klass), GNOME_TYPE_CALENDAR, \ +#define GNOME_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_CALENDAR, GnomeCalendar)) +#define GNOME_CALENDAR_CLASS(klass) (G_TYPE_CHECK_INSTANCE_CAST_CLASS ((klass), GNOME_TYPE_CALENDAR, \ GnomeCalendarClass)) -#define GNOME_IS_CALENDAR(obj) (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CALENDAR)) -#define GNOME_IS_CALENDAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CALENDAR)) +#define GNOME_IS_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_CALENDAR)) +#define GNOME_IS_CALENDAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CALENDAR)) typedef struct _GnomeCalendar GnomeCalendar; typedef struct _GnomeCalendarClass GnomeCalendarClass; @@ -102,7 +102,7 @@ struct _GnomeCalendarClass { }; -GtkType gnome_calendar_get_type (void); +GType gnome_calendar_get_type (void); GtkWidget *gnome_calendar_construct (GnomeCalendar *gcal); GtkWidget *gnome_calendar_new (void); |