diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index 5b92797905..c5655e8380 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -204,6 +204,20 @@ * when you use #GtkFileChooserDialog to ensure proper operation. */ +typedef struct _GtkFileChooserDialogPrivate GtkFileChooserDialogPrivate; +typedef struct _GtkFileChooserDialogClass GtkFileChooserDialogClass; + +struct _GtkFileChooserDialog +{ + GtkDialog parent_instance; + + GtkFileChooserDialogPrivate *priv; +}; + +struct _GtkFileChooserDialogClass +{ + GtkDialogClass parent_class; +}; struct _GtkFileChooserDialogPrivate { diff --git a/gtk/gtkfilechooserdialog.h b/gtk/gtkfilechooserdialog.h index 8e3612ee0a..4c42ff35b7 100644 --- a/gtk/gtkfilechooserdialog.h +++ b/gtk/gtkfilechooserdialog.h @@ -30,32 +30,9 @@ G_BEGIN_DECLS #define GTK_TYPE_FILE_CHOOSER_DIALOG (gtk_file_chooser_dialog_get_type ()) #define GTK_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_DIALOG, GtkFileChooserDialog)) -#define GTK_FILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FILE_CHOOSER_DIALOG, GtkFileChooserDialogClass)) #define GTK_IS_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_DIALOG)) -#define GTK_IS_FILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FILE_CHOOSER_DIALOG)) -#define GTK_FILE_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FILE_CHOOSER_DIALOG, GtkFileChooserDialogClass)) typedef struct _GtkFileChooserDialog GtkFileChooserDialog; -typedef struct _GtkFileChooserDialogPrivate GtkFileChooserDialogPrivate; -typedef struct _GtkFileChooserDialogClass GtkFileChooserDialogClass; - -struct _GtkFileChooserDialog -{ - GtkDialog parent_instance; - - GtkFileChooserDialogPrivate *priv; -}; - -struct _GtkFileChooserDialogClass -{ - GtkDialogClass parent_class; - - /* Padding for future expansion */ - void (*_gtk_reserved1) (void); - void (*_gtk_reserved2) (void); - void (*_gtk_reserved3) (void); - void (*_gtk_reserved4) (void); -}; GDK_AVAILABLE_IN_ALL GType gtk_file_chooser_dialog_get_type (void) G_GNUC_CONST;