[gtk+] range: fix warning for gadget slider
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] range: fix warning for gadget slider
- Date: Sat, 5 Mar 2016 01:29:02 +0000 (UTC)
commit 5a42c2e478ba21ca2d35cdc6c9c8b7afc7c6897f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Mar 4 17:28:04 2016 -0800
range: fix warning for gadget slider
The slider is not HFW/WFH - just pass -1 to get rid of the warnings.
gtk/gtkrange.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 0bedf35..26f2fce 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -1837,7 +1837,7 @@ gtk_range_measure_trough (GtkCssGadget *gadget,
gint min, nat;
gtk_css_gadget_get_preferred_size (priv->slider_gadget,
- orientation, for_size,
+ orientation, -1,
minimum, natural,
NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]