summaryrefslogtreecommitdiff
path: root/gtk/gtkscalebutton.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-19 20:34:13 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-05-19 20:34:13 +0000
commit2dec0b8d7f12dae277962c33aef11a62284576b6 (patch)
treeafdd780dc4f362ecd3f470eb64b3f9b850af6f52 /gtk/gtkscalebutton.h
parent8c1bce72d53cec1879e0797e6ab306ce48f83c7c (diff)
downloadgtk+-2dec0b8d7f12dae277962c33aef11a62284576b6.tar.gz
volume button: Don't allow subclassing
If you want to subclass, there's GtkScaleButton.
Diffstat (limited to 'gtk/gtkscalebutton.h')
-rw-r--r--gtk/gtkscalebutton.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk/gtkscalebutton.h b/gtk/gtkscalebutton.h
index 1fc7ecdab2..c9dd397594 100644
--- a/gtk/gtkscalebutton.h
+++ b/gtk/gtkscalebutton.h
@@ -65,11 +65,9 @@ struct _GtkScaleButtonClass
void (* value_changed) (GtkScaleButton *button,
gdouble value);
- /* Padding for future expansion */
- void (*_gtk_reserved1) (void);
- void (*_gtk_reserved2) (void);
- void (*_gtk_reserved3) (void);
- void (*_gtk_reserved4) (void);
+ /*< private >*/
+
+ gpointer padding[8];
};
GDK_AVAILABLE_IN_ALL