Merge branch 'scalebutton' into 'master'

properly set ScaleButton's parent_class

Closes #3381

See merge request GNOME/gtk!2877
This commit is contained in:
Timm Bäder 2020-11-23 07:38:17 +00:00
commit 47d572834b

View File

@ -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,