forked from AuroraMiddleware/gtk
Merge branch 'usable-scales' into 'master'
Usable scales See merge request GNOME/gtk!1893
This commit is contained in:
commit
d1134e7616
@ -1900,7 +1900,7 @@ gtk_popover_buildable_add_child (GtkBuildable *buildable,
|
||||
const gchar *type)
|
||||
{
|
||||
if (GTK_IS_WIDGET (child))
|
||||
gtk_popover_set_child (GTK_POPOVER(buildable), GTK_WIDGET (child));
|
||||
gtk_popover_set_child (GTK_POPOVER (buildable), GTK_WIDGET (child));
|
||||
else
|
||||
parent_buildable_iface->add_child (buildable, builder, child, type);
|
||||
}
|
||||
|
@ -1878,10 +1878,10 @@ gtk_range_click_gesture_pressed (GtkGestureClick *gesture,
|
||||
|
||||
mouse_location = gtk_widget_pick (widget, x, y, 0);
|
||||
|
||||
/* For the purposes of this function, we ignore fill and highlight and
|
||||
* handle them like the trough */
|
||||
if (mouse_location == priv->fill_widget ||
|
||||
mouse_location == priv->highlight_widget)
|
||||
/* For the purposes of this function, we treat anything outside
|
||||
* the slider like a click on the trough
|
||||
*/
|
||||
if (mouse_location != priv->slider_widget)
|
||||
mouse_location = priv->trough_widget;
|
||||
|
||||
if (mouse_location == priv->slider_widget)
|
||||
|
Loading…
Reference in New Issue
Block a user