Commit 57d0c898 authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

libgimpwidgets: stop using GTK_TYPE_HSCALE

Use GTK_TYPE_SCALE with orientation = HORIZONTAL instead.
parent a5868e1f
......@@ -1286,9 +1286,10 @@ gimp_prop_hscale_new (GObject *config,
adjustment = gtk_adjustment_new (value, lower, upper,
step_increment, page_increment, 0.0);
scale = g_object_new (GTK_TYPE_HSCALE,
"adjustment", adjustment,
"digits", digits,
scale = g_object_new (GTK_TYPE_SCALE,
"orientation", GTK_ORIENTATION_HORIZONTAL,
"adjustment", adjustment,
"digits", digits,
NULL);
set_param_spec (G_OBJECT (adjustment), scale, param_spec);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment