Commit e3a4dfe0 authored by Javier Jardón's avatar Javier Jardón

gtkprinter: unseal private pointer

parent 168fbac7
......@@ -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;
......
......@@ -68,7 +68,8 @@ struct _GtkPrinter
{
GObject parent_instance;
GtkPrinterPrivate *GSEAL (priv);
/* <private> */
GtkPrinterPrivate *priv;
};
struct _GtkPrinterClass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment