Commit aea82cb3 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

level bar: Make final

parent f47a84f2
Pipeline #84316 canceled with stages
......@@ -164,6 +164,18 @@ typedef struct {
gdouble value;
} GtkLevelBarOffset;
struct _GtkLevelBar {
GtkWidget parent_instance;
};
typedef struct _GtkLevelBarClass GtkLevelBarClass;
struct _GtkLevelBarClass {
GtkWidgetClass parent_class;
void (* offset_changed) (GtkLevelBar *self,
const gchar *name);
};
typedef struct _GtkLevelBarPrivate GtkLevelBarPrivate;
struct _GtkLevelBarPrivate {
GtkOrientation orientation;
......
......@@ -31,10 +31,7 @@ G_BEGIN_DECLS
#define GTK_TYPE_LEVEL_BAR (gtk_level_bar_get_type ())
#define GTK_LEVEL_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LEVEL_BAR, GtkLevelBar))
#define GTK_LEVEL_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LEVEL_BAR, GtkLevelBarClass))
#define GTK_IS_LEVEL_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LEVEL_BAR))
#define GTK_IS_LEVEL_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LEVEL_BAR))
#define GTK_LEVEL_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LEVEL_BAR, GtkLevelBarClass))
/**
* GTK_LEVEL_BAR_OFFSET_LOW:
......@@ -57,24 +54,8 @@ G_BEGIN_DECLS
*/
#define GTK_LEVEL_BAR_OFFSET_FULL "full"
typedef struct _GtkLevelBarClass GtkLevelBarClass;
typedef struct _GtkLevelBar GtkLevelBar;
struct _GtkLevelBar {
/*< private >*/
GtkWidget parent_instance;
};
struct _GtkLevelBarClass {
/*< private >*/
GtkWidgetClass parent_class;
void (* offset_changed) (GtkLevelBar *self,
const gchar *name);
/* padding for future class expansion */
gpointer padding[16];
};
GDK_AVAILABLE_IN_ALL
GType gtk_level_bar_get_type (void) G_GNUC_CONST;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment