mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
gtkprinter: unseal private pointer
This commit is contained in:
parent
168fbac7f6
commit
e3a4dfe0e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user