[gtk] status bar: Make final
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] status bar: Make final
- Date: Mon, 27 May 2019 02:53:06 +0000 (UTC)
commit efed83d3c678513d4c313bf8f169f9c6d45fbff0
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 27 02:51:44 2019 +0000
status bar: Make final
gtk/gtkstatusbar.c | 19 +++++++++++++++++++
gtk/gtkstatusbar.h | 31 +------------------------------
2 files changed, 20 insertions(+), 30 deletions(-)
---
diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c
index 637b1c8f41..ef557fd21d 100644
--- a/gtk/gtkstatusbar.c
+++ b/gtk/gtkstatusbar.c
@@ -78,6 +78,25 @@
typedef struct _GtkStatusbarMsg GtkStatusbarMsg;
+typedef struct _GtkStatusbarClass GtkStatusbarClass;
+
+struct _GtkStatusbar
+{
+ GtkWidget parent_instance;
+};
+
+struct _GtkStatusbarClass
+{
+ GtkWidgetClass parent_class;
+
+ void (*text_pushed) (GtkStatusbar *statusbar,
+ guint context_id,
+ const gchar *text);
+ void (*text_popped) (GtkStatusbar *statusbar,
+ guint context_id,
+ const gchar *text);
+};
+
typedef struct
{
GtkWidget *frame;
diff --git a/gtk/gtkstatusbar.h b/gtk/gtkstatusbar.h
index e52a616f0d..de63712c59 100644
--- a/gtk/gtkstatusbar.h
+++ b/gtk/gtkstatusbar.h
@@ -36,38 +36,9 @@ G_BEGIN_DECLS
#define GTK_TYPE_STATUSBAR (gtk_statusbar_get_type ())
#define GTK_STATUSBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STATUSBAR, GtkStatusbar))
-#define GTK_STATUSBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_STATUSBAR,
GtkStatusbarClass))
#define GTK_IS_STATUSBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STATUSBAR))
-#define GTK_IS_STATUSBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_STATUSBAR))
-#define GTK_STATUSBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_STATUSBAR,
GtkStatusbarClass))
-
-
-typedef struct _GtkStatusbar GtkStatusbar;
-typedef struct _GtkStatusbarClass GtkStatusbarClass;
-
-struct _GtkStatusbar
-{
- GtkWidget parent_instance;
-};
-
-struct _GtkStatusbarClass
-{
- GtkWidgetClass parent_class;
-
- void (*text_pushed) (GtkStatusbar *statusbar,
- guint context_id,
- const gchar *text);
- void (*text_popped) (GtkStatusbar *statusbar,
- guint context_id,
- const gchar *text);
-
- /* Padding for future expansion */
- void (*_gtk_reserved1) (void);
- void (*_gtk_reserved2) (void);
- void (*_gtk_reserved3) (void);
- void (*_gtk_reserved4) (void);
-};
+typedef struct _GtkStatusbar GtkStatusbar;
GDK_AVAILABLE_IN_ALL
GType gtk_statusbar_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]