[gtk] cell renderer spin: Make final
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] cell renderer spin: Make final
- Date: Mon, 27 May 2019 00:38:46 +0000 (UTC)
commit c21d74e48d0990e5411f5f5f238e4fa0753d5f95
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 26 20:35:26 2019 -0400
cell renderer spin: Make final
gtk/gtkcellrendererspin.c | 15 +++++++++++++++
gtk/gtkcellrendererspin.h | 24 ------------------------
2 files changed, 15 insertions(+), 24 deletions(-)
---
diff --git a/gtk/gtkcellrendererspin.c b/gtk/gtkcellrendererspin.c
index cc44bdcaa7..1baf78aba9 100644
--- a/gtk/gtkcellrendererspin.c
+++ b/gtk/gtkcellrendererspin.c
@@ -51,6 +51,21 @@
* The #GtkCellRendererSpin cell renderer was added in GTK 2.10.
*/
+typedef struct _GtkCellRendererSpinClass GtkCellRendererSpinClass;
+typedef struct _GtkCellRendererSpinPrivate GtkCellRendererSpinPrivate;
+
+struct _GtkCellRendererSpin
+{
+ GtkCellRendererText parent;
+
+ /*< private >*/
+ GtkCellRendererSpinPrivate *priv;
+};
+
+struct _GtkCellRendererSpinClass
+{
+ GtkCellRendererTextClass parent;
+};
struct _GtkCellRendererSpinPrivate
{
diff --git a/gtk/gtkcellrendererspin.h b/gtk/gtkcellrendererspin.h
index 1ea3300776..5710d37883 100644
--- a/gtk/gtkcellrendererspin.h
+++ b/gtk/gtkcellrendererspin.h
@@ -28,33 +28,9 @@ G_BEGIN_DECLS
#define GTK_TYPE_CELL_RENDERER_SPIN (gtk_cell_renderer_spin_get_type ())
#define GTK_CELL_RENDERER_SPIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
GTK_TYPE_CELL_RENDERER_SPIN, GtkCellRendererSpin))
-#define GTK_CELL_RENDERER_SPIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
GTK_TYPE_CELL_RENDERER_SPIN, GtkCellRendererSpinClass))
#define GTK_IS_CELL_RENDERER_SPIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
GTK_TYPE_CELL_RENDERER_SPIN))
-#define GTK_IS_CELL_RENDERER_SPIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
GTK_TYPE_CELL_RENDERER_SPIN))
-#define GTK_CELL_RENDERER_SPIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
GTK_TYPE_CELL_RENDERER_SPIN, GtkCellRendererTextClass))
typedef struct _GtkCellRendererSpin GtkCellRendererSpin;
-typedef struct _GtkCellRendererSpinClass GtkCellRendererSpinClass;
-typedef struct _GtkCellRendererSpinPrivate GtkCellRendererSpinPrivate;
-
-struct _GtkCellRendererSpin
-{
- GtkCellRendererText parent;
-
- /*< private >*/
- GtkCellRendererSpinPrivate *priv;
-};
-
-struct _GtkCellRendererSpinClass
-{
- GtkCellRendererTextClass parent;
-
- /* 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_cell_renderer_spin_get_type (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]