From 46601325f16abda5fee4f3eba890d65a0ef2c388 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Mon, 23 Nov 2020 02:47:03 +0100 Subject: [PATCH] properly set ScaleButton's parent_class GtkScaleButton doesn't subclass GtkButton anymore Fixes #3381 --- gtk/gtkscalebutton.h | 6 +++--- 1 file 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 can be included directly." #endif -#include +#include 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,