diff options
author | Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | 2020-11-23 02:47:03 +0100 |
---|---|---|
committer | Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | 2020-11-23 02:47:12 +0100 |
commit | 46601325f16abda5fee4f3eba890d65a0ef2c388 (patch) | |
tree | 5dd6e323f58ce380580bc58e8a4d29a5bc952793 /gtk/gtkscalebutton.h | |
parent | 0abc7a336185920605c2f4f1b0c0b95dac567143 (diff) | |
download | gtk+-46601325f16abda5fee4f3eba890d65a0ef2c388.tar.gz |
properly set ScaleButton's parent_class
GtkScaleButton doesn't subclass GtkButton anymore
Fixes #3381
Diffstat (limited to 'gtk/gtkscalebutton.h')
-rw-r--r-- | gtk/gtkscalebutton.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkscalebutton.h b/gtk/gtkscalebutton.h index 309e75eb65..67a479baac 100644 --- a/gtk/gtkscalebutton.h +++ b/gtk/gtkscalebutton.h @@ -38,7 +38,7 @@ #error "Only <gtk/gtk.h> can be included directly." #endif -#include <gtk/gtkbutton.h> +#include <gtk/gtkwidget.h> G_BEGIN_DECLS @@ -54,12 +54,12 @@ typedef struct _GtkScaleButtonClass GtkScaleButtonClass; struct _GtkScaleButton { - GtkButton parent_instance; + GtkWidget parent_instance; }; struct _GtkScaleButtonClass { - GtkButtonClass parent_class; + GtkWidgetClass parent_class; /* signals */ void (* value_changed) (GtkScaleButton *button, |