diff options
Diffstat (limited to 'widgets/misc/e-dateedit.c')
-rw-r--r-- | widgets/misc/e-dateedit.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c index ae962081d6..9aff9de005 100644 --- a/widgets/misc/e-dateedit.c +++ b/widgets/misc/e-dateedit.c @@ -43,10 +43,6 @@ #include <e-util/e-extensible.h> #include "e-calendar.h" -#define E_DATE_EDIT_GET_PRIVATE(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE \ - ((obj), E_TYPE_DATE_EDIT, EDateEditPrivate)) - struct _EDateEditPrivate { GtkWidget *date_entry; GtkWidget *date_button; @@ -455,7 +451,7 @@ e_date_edit_class_init (EDateEditClass *class) static void e_date_edit_init (EDateEdit *dedit) { - dedit->priv = E_DATE_EDIT_GET_PRIVATE (dedit); + dedit->priv = G_TYPE_INSTANCE_GET_PRIVATE (dedit, E_TYPE_DATE_EDIT, EDateEditPrivate); dedit->priv->show_date = TRUE; dedit->priv->show_time = TRUE; |