diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-06-07 21:28:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-06-07 21:28:44 -0400 |
commit | 7f06f2818aaef1994cb7224d95522b956bfd4ab8 (patch) | |
tree | 3c383626428bd3383235e6b69ad1cef0af6763b6 /gtk/gtkrange.h | |
parent | dce4003c20bfd0a5100bd60dc0e923277b89684b (diff) | |
download | gtk+-7f06f2818aaef1994cb7224d95522b956bfd4ab8.tar.gz |
Ensure that GtkRange allocates enough space for the value
This is a long-standing problem of GtkScale.
https://bugzilla.gnome.org/show_bug.cgi?id=766372
https://bugzilla.gnome.org/show_bug.cgi?id=578626
https://bugzilla.gnome.org/show_bug.cgi?id=79229
Diffstat (limited to 'gtk/gtkrange.h')
-rw-r--r-- | gtk/gtkrange.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkrange.h b/gtk/gtkrange.h index b21e8444d0..e78b3b5a61 100644 --- a/gtk/gtkrange.h +++ b/gtk/gtkrange.h @@ -78,11 +78,15 @@ struct _GtkRangeClass GtkScrollType scroll, gdouble new_value); + void (* get_range_size_request) (GtkRange *range, + GtkOrientation orientation, + gint *minimum, + gint *natural); + /* Padding for future expansion */ void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); - void (*_gtk_reserved4) (void); }; |