[gtk] file chooser dialog: Make final
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] file chooser dialog: Make final
- Date: Tue, 28 May 2019 03:04:41 +0000 (UTC)
commit 2ae531ee9f0c53de1cf6f78da594bfb30a5b1944
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 28 02:42:14 2019 +0000
file chooser dialog: Make final
gtk/gtkfilechooserdialog.c | 14 ++++++++++++++
gtk/gtkfilechooserdialog.h | 23 -----------------------
2 files changed, 14 insertions(+), 23 deletions(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]