[gtk] font chooser dialog: Make final
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] font chooser dialog: Make final
- Date: Tue, 28 May 2019 02:38:22 +0000 (UTC)
commit 19de2ce93792cba95df2664d138c79aafe5c54d1
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 28 00:57:47 2019 +0000
font chooser dialog: Make final
gtk/gtkfontchooserdialog.c | 15 +++++++++++++++
gtk/gtkfontchooserdialog.h | 30 ------------------------------
2 files changed, 15 insertions(+), 30 deletions(-)
---
diff --git a/gtk/gtkfontchooserdialog.c b/gtk/gtkfontchooserdialog.c
index 2604b03dc0..a0eb14c9e2 100644
--- a/gtk/gtkfontchooserdialog.c
+++ b/gtk/gtkfontchooserdialog.c
@@ -41,6 +41,21 @@
#include "gtkactionable.h"
#include "gtkeventcontrollerkey.h"
+typedef struct _GtkFontChooserDialogPrivate GtkFontChooserDialogPrivate;
+typedef struct _GtkFontChooserDialogClass GtkFontChooserDialogClass;
+
+struct _GtkFontChooserDialog
+{
+ GtkDialog parent_instance;
+
+ GtkFontChooserDialogPrivate *priv;
+};
+
+struct _GtkFontChooserDialogClass
+{
+ GtkDialogClass parent_class;
+};
+
struct _GtkFontChooserDialogPrivate
{
GtkWidget *fontchooser;
diff --git a/gtk/gtkfontchooserdialog.h b/gtk/gtkfontchooserdialog.h
index db7f5c3619..4452dbd068 100644
--- a/gtk/gtkfontchooserdialog.h
+++ b/gtk/gtkfontchooserdialog.h
@@ -28,39 +28,9 @@ G_BEGIN_DECLS
#define GTK_TYPE_FONT_CHOOSER_DIALOG (gtk_font_chooser_dialog_get_type ())
#define GTK_FONT_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
GTK_TYPE_FONT_CHOOSER_DIALOG, GtkFontChooserDialog))
-#define GTK_FONT_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
GTK_TYPE_FONT_CHOOSER_DIALOG, GtkFontChooserDialogClass))
#define GTK_IS_FONT_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
GTK_TYPE_FONT_CHOOSER_DIALOG))
-#define GTK_IS_FONT_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
GTK_TYPE_FONT_CHOOSER_DIALOG))
-#define GTK_FONT_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
GTK_TYPE_FONT_CHOOSER_DIALOG, GtkFontChooserDialogClass))
typedef struct _GtkFontChooserDialog GtkFontChooserDialog;
-typedef struct _GtkFontChooserDialogPrivate GtkFontChooserDialogPrivate;
-typedef struct _GtkFontChooserDialogClass GtkFontChooserDialogClass;
-
-struct _GtkFontChooserDialog
-{
- GtkDialog parent_instance;
-
- /*< private >*/
- GtkFontChooserDialogPrivate *priv;
-};
-
-/**
- * GtkFontChooserDialogClass:
- * @parent_class: The parent class.
- */
-struct _GtkFontChooserDialogClass
-{
- GtkDialogClass 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_font_chooser_dialog_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]