diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-07-07 03:54:48 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-07-13 19:40:49 +0200 |
commit | e3a4dfe0e1ddb62646ec5f7b815731387ef04343 (patch) | |
tree | b779a7c24307cc10b3b1a961af81f433874b9145 /gtk/gtkprinter.c | |
parent | 168fbac7f68dcb5e82fc7ce086f8696a92f69f26 (diff) | |
download | gtk+-e3a4dfe0e1ddb62646ec5f7b815731387ef04343.tar.gz |
gtkprinter: unseal private pointer
Diffstat (limited to 'gtk/gtkprinter.c')
-rw-r--r-- | gtk/gtkprinter.c | 7 |
1 files changed, 3 insertions, 4 deletions
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; |