[gtk] action bar: Make final
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] action bar: Make final
- Date: Mon, 27 May 2019 02:14:52 +0000 (UTC)
commit 886de6c164a641051bf4c2b479a46a29975403bc
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 26 21:57:42 2019 -0400
action bar: Make final
gtk/gtkactionbar.c | 13 +++++++++++++
gtk/gtkactionbar.h | 23 -----------------------
2 files changed, 13 insertions(+), 23 deletions(-)
---
diff --git a/gtk/gtkactionbar.c b/gtk/gtkactionbar.c
index 0a48b72922..9dad0cb367 100644
--- a/gtk/gtkactionbar.c
+++ b/gtk/gtkactionbar.c
@@ -53,6 +53,19 @@
* GtkActionBar has a single CSS node with name actionbar.
*/
+typedef struct _GtkActionBarPrivate GtkActionBarPrivate;
+typedef struct _GtkActionBarClass GtkActionBarClass;
+
+struct _GtkActionBar
+{
+ GtkContainer container;
+};
+
+struct _GtkActionBarClass
+{
+ GtkContainerClass parent_class;
+};
+
struct _GtkActionBarPrivate
{
GtkWidget *center_box;
diff --git a/gtk/gtkactionbar.h b/gtk/gtkactionbar.h
index a694da7bdb..38e23c2bea 100644
--- a/gtk/gtkactionbar.h
+++ b/gtk/gtkactionbar.h
@@ -30,32 +30,9 @@ G_BEGIN_DECLS
#define GTK_TYPE_ACTION_BAR (gtk_action_bar_get_type ())
#define GTK_ACTION_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACTION_BAR,
GtkActionBar))
-#define GTK_ACTION_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACTION_BAR,
GtkActionBarClass))
#define GTK_IS_ACTION_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACTION_BAR))
-#define GTK_IS_ACTION_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACTION_BAR))
-#define GTK_ACTION_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACTION_BAR,
GtkActionBarClass))
typedef struct _GtkActionBar GtkActionBar;
-typedef struct _GtkActionBarPrivate GtkActionBarPrivate;
-typedef struct _GtkActionBarClass GtkActionBarClass;
-
-struct _GtkActionBar
-{
- /*< private >*/
- GtkContainer container;
-};
-
-struct _GtkActionBarClass
-{
- /*< private >*/
- GtkContainerClass 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_action_bar_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]