mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 13:30:19 +00:00
gtkcustompaperunixdialog: unseal private pointer
This commit is contained in:
parent
5fd442eda2
commit
009acc263e
@ -49,7 +49,7 @@ typedef struct
|
||||
GtkWidget *spin_button;
|
||||
} UnitWidget;
|
||||
|
||||
struct GtkCustomPaperUnixDialogPrivate
|
||||
struct _GtkCustomPaperUnixDialogPrivate
|
||||
{
|
||||
|
||||
GtkWidget *treeview;
|
||||
@ -86,10 +86,9 @@ enum {
|
||||
PRINTER_LIST_N_COLS
|
||||
};
|
||||
|
||||
|
||||
G_DEFINE_TYPE (GtkCustomPaperUnixDialog, gtk_custom_paper_unix_dialog, GTK_TYPE_DIALOG)
|
||||
|
||||
#define GTK_CUSTOM_PAPER_UNIX_DIALOG_GET_PRIVATE(o) \
|
||||
(G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG, GtkCustomPaperUnixDialogPrivate))
|
||||
|
||||
static void gtk_custom_paper_unix_dialog_finalize (GObject *object);
|
||||
static void populate_dialog (GtkCustomPaperUnixDialog *dialog);
|
||||
@ -272,7 +271,10 @@ gtk_custom_paper_unix_dialog_init (GtkCustomPaperUnixDialog *dialog)
|
||||
GtkCustomPaperUnixDialogPrivate *priv;
|
||||
GtkTreeIter iter;
|
||||
|
||||
priv = dialog->priv = GTK_CUSTOM_PAPER_UNIX_DIALOG_GET_PRIVATE (dialog);
|
||||
dialog->priv = G_TYPE_INSTANCE_GET_PRIVATE (dialog,
|
||||
GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG,
|
||||
GtkCustomPaperUnixDialogPrivate);
|
||||
priv = dialog->priv;
|
||||
|
||||
priv->print_backends = NULL;
|
||||
|
||||
|
@ -34,13 +34,13 @@ G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GtkCustomPaperUnixDialog GtkCustomPaperUnixDialog;
|
||||
typedef struct _GtkCustomPaperUnixDialogClass GtkCustomPaperUnixDialogClass;
|
||||
typedef struct GtkCustomPaperUnixDialogPrivate GtkCustomPaperUnixDialogPrivate;
|
||||
typedef struct _GtkCustomPaperUnixDialogPrivate GtkCustomPaperUnixDialogPrivate;
|
||||
|
||||
struct _GtkCustomPaperUnixDialog
|
||||
{
|
||||
GtkDialog parent_instance;
|
||||
|
||||
GtkCustomPaperUnixDialogPrivate *GSEAL (priv);
|
||||
GtkCustomPaperUnixDialogPrivate *priv;
|
||||
};
|
||||
|
||||
struct _GtkCustomPaperUnixDialogClass
|
||||
|
Loading…
Reference in New Issue
Block a user