[gtk] spinner: Make final
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] spinner: Make final
- Date: Sun, 26 May 2019 23:21:00 +0000 (UTC)
commit 796ee8816cf46fb88e060dfa9920d0fa547be287
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 26 18:50:49 2019 -0400
spinner: Make final
gtk/gtkspinner.c | 12 ++++++++++++
gtk/gtkspinner.h | 19 -------------------
2 files changed, 12 insertions(+), 19 deletions(-)
---
diff --git a/gtk/gtkspinner.c b/gtk/gtkspinner.c
index 2eba10f5c2..d8840d9957 100644
--- a/gtk/gtkspinner.c
+++ b/gtk/gtkspinner.c
@@ -61,6 +61,18 @@
* active, the :checked pseudoclass is added to this node.
*/
+typedef struct _GtkSpinnerClass GtkSpinnerClass;
+
+struct _GtkSpinner
+{
+ GtkWidget parent;
+};
+
+struct _GtkSpinnerClass
+{
+ GtkWidgetClass parent_class;
+};
+
enum {
PROP_0,
diff --git a/gtk/gtkspinner.h b/gtk/gtkspinner.h
index d21f9512c3..b223147f6a 100644
--- a/gtk/gtkspinner.h
+++ b/gtk/gtkspinner.h
@@ -33,29 +33,10 @@ G_BEGIN_DECLS
#define GTK_TYPE_SPINNER (gtk_spinner_get_type ())
#define GTK_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPINNER, GtkSpinner))
-#define GTK_SPINNER_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_SPINNER, GtkSpinnerClass))
#define GTK_IS_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPINNER))
-#define GTK_IS_SPINNER_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), GTK_TYPE_SPINNER))
-#define GTK_SPINNER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SPINNER, GtkSpinnerClass))
typedef struct _GtkSpinner GtkSpinner;
-typedef struct _GtkSpinnerClass GtkSpinnerClass;
-struct _GtkSpinner
-{
- GtkWidget parent;
-};
-
-struct _GtkSpinnerClass
-{
- GtkWidgetClass 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_spinner_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]