diff --git a/gtk/gtkprinter.c b/gtk/gtkprinter.c index d43e7b1342..7e8c4d0a8a 100644 --- a/gtk/gtkprinter.c +++ b/gtk/gtkprinter.c @@ -48,9 +48,6 @@ */ -#define GTK_PRINTER_GET_PRIVATE(o) \ - (G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_PRINTER, GtkPrinterPrivate)) - static void gtk_printer_finalize (GObject *object); struct _GtkPrinterPrivate @@ -245,7 +242,9 @@ gtk_printer_init (GtkPrinter *printer) { GtkPrinterPrivate *priv; - priv = printer->priv = GTK_PRINTER_GET_PRIVATE (printer); + priv = printer->priv = G_TYPE_INSTANCE_GET_PRIVATE (printer, + GTK_TYPE_PRINTER, + GtkPrinterPrivate); priv->name = NULL; priv->location = NULL; diff --git a/gtk/gtkprinter.h b/gtk/gtkprinter.h index cb5bcbd056..30bf1d564c 100644 --- a/gtk/gtkprinter.h +++ b/gtk/gtkprinter.h @@ -68,7 +68,8 @@ struct _GtkPrinter { GObject parent_instance; - GtkPrinterPrivate *GSEAL (priv); + /* */ + GtkPrinterPrivate *priv; }; struct _GtkPrinterClass