Remove warning

This commit is contained in:
hrdl 2023-01-28 14:20:49 +01:00
parent 5c6d2c8e87
commit 15f0ac6f93

View File

@ -2712,10 +2712,8 @@ gtk_range_multipress_gesture_pressed (GtkGestureMultiPress *gesture,
gtk_range_update_mouse_location (range); gtk_range_update_mouse_location (range);
if (!priv->mouse_location) if (!priv->mouse_location)
{ return;
g_warning(G_STRLOC "value of mouse_location is 'NULL'");
return;
}
gtk_css_gadget_get_margin_box (priv->slider_gadget, &slider_alloc); gtk_css_gadget_get_margin_box (priv->slider_gadget, &slider_alloc);
g_object_get (gtk_widget_get_settings (widget), g_object_get (gtk_widget_get_settings (widget),