From b080a980d9088f597367dabd306ec5e14845ce97 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 27 May 2019 20:30:59 -0400 Subject: [PATCH] app chooser dialog: Make final --- gtk/gtkappchooserdialog.c | 13 +++++++++++++ gtk/gtkappchooserdialog.h | 25 ------------------------- 2 files changed, 13 insertions(+), 25 deletions(-) diff --git a/gtk/gtkappchooserdialog.c b/gtk/gtkappchooserdialog.c index ec5ced63b2..551447cf46 100644 --- a/gtk/gtkappchooserdialog.c +++ b/gtk/gtkappchooserdialog.c @@ -62,6 +62,19 @@ #include #include +typedef struct _GtkAppChooserDialogClass GtkAppChooserDialogClass; +typedef struct _GtkAppChooserDialogPrivate GtkAppChooserDialogPrivate; + +struct _GtkAppChooserDialog { + GtkDialog parent; + + GtkAppChooserDialogPrivate *priv; +}; + +struct _GtkAppChooserDialogClass { + GtkDialogClass parent_class; +}; + struct _GtkAppChooserDialogPrivate { char *content_type; GFile *gfile; diff --git a/gtk/gtkappchooserdialog.h b/gtk/gtkappchooserdialog.h index f2af4954fc..45c7d8b66b 100644 --- a/gtk/gtkappchooserdialog.h +++ b/gtk/gtkappchooserdialog.h @@ -36,34 +36,9 @@ G_BEGIN_DECLS #define GTK_TYPE_APP_CHOOSER_DIALOG (gtk_app_chooser_dialog_get_type ()) #define GTK_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialog)) -#define GTK_APP_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialogClass)) #define GTK_IS_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_DIALOG)) -#define GTK_IS_APP_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_APP_CHOOSER_DIALOG)) -#define GTK_APP_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialogClass)) typedef struct _GtkAppChooserDialog GtkAppChooserDialog; -typedef struct _GtkAppChooserDialogClass GtkAppChooserDialogClass; -typedef struct _GtkAppChooserDialogPrivate GtkAppChooserDialogPrivate; - -struct _GtkAppChooserDialog { - GtkDialog parent; - - /*< private >*/ - GtkAppChooserDialogPrivate *priv; -}; - -/** - * GtkAppChooserDialogClass: - * @parent_class: The parent class. - */ -struct _GtkAppChooserDialogClass { - GtkDialogClass parent_class; - - /*< private >*/ - - /* padding for future class expansion */ - gpointer padding[16]; -}; GDK_AVAILABLE_IN_ALL GType gtk_app_chooser_dialog_get_type (void) G_GNUC_CONST;