[gtk] file chooser widget: Make final
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] file chooser widget: Make final
- Date: Tue, 28 May 2019 03:04:36 +0000 (UTC)
commit e795c0c67effdf7005f3200daa4e8c6a8b7248ff
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 28 02:41:15 2019 +0000
file chooser widget: Make final
gtk/gtkfilechooserwidget.c | 15 +++++++++++++++
gtk/gtkfilechooserwidget.h | 29 -----------------------------
2 files changed, 15 insertions(+), 29 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index fcce362843..749a4cd209 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -208,6 +208,21 @@ typedef enum {
DATE_FORMAT_WITH_TIME
} DateFormat;
+typedef struct _GtkFileChooserWidgetPrivate GtkFileChooserWidgetPrivate;
+typedef struct _GtkFileChooserWidgetClass GtkFileChooserWidgetClass;
+
+struct _GtkFileChooserWidget
+{
+ GtkWidget parent_instance;
+
+ GtkFileChooserWidgetPrivate *priv;
+};
+
+struct _GtkFileChooserWidgetClass
+{
+ GtkWidgetClass parent_class;
+};
+
struct _GtkFileChooserWidgetPrivate {
GtkFileChooserAction action;
diff --git a/gtk/gtkfilechooserwidget.h b/gtk/gtkfilechooserwidget.h
index df29d2bad6..6927cdc4a8 100644
--- a/gtk/gtkfilechooserwidget.h
+++ b/gtk/gtkfilechooserwidget.h
@@ -30,38 +30,9 @@ G_BEGIN_DECLS
#define GTK_TYPE_FILE_CHOOSER_WIDGET (gtk_file_chooser_widget_get_type ())
#define GTK_FILE_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
GTK_TYPE_FILE_CHOOSER_WIDGET, GtkFileChooserWidget))
-#define GTK_FILE_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
GTK_TYPE_FILE_CHOOSER_WIDGET, GtkFileChooserWidgetClass))
#define GTK_IS_FILE_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
GTK_TYPE_FILE_CHOOSER_WIDGET))
-#define GTK_IS_FILE_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
GTK_TYPE_FILE_CHOOSER_WIDGET))
-#define GTK_FILE_CHOOSER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
GTK_TYPE_FILE_CHOOSER_WIDGET, GtkFileChooserWidgetClass))
typedef struct _GtkFileChooserWidget GtkFileChooserWidget;
-typedef struct _GtkFileChooserWidgetPrivate GtkFileChooserWidgetPrivate;
-typedef struct _GtkFileChooserWidgetClass GtkFileChooserWidgetClass;
-
-struct _GtkFileChooserWidget
-{
- GtkWidget parent_instance;
-
- GtkFileChooserWidgetPrivate *priv;
-};
-
-/**
- * GtkFileChooserWidgetClass:
- * @parent_class: The parent class.
- */
-struct _GtkFileChooserWidgetClass
-{
- GtkWidgetClass parent_class;
-
- /*< private >*/
-
- /* 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_widget_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]