app: misc cleanup in prop-gui range creation

This commit is contained in:
Ell 2020-06-03 10:13:50 +03:00
parent c7599626f4
commit ca351d3520
1 changed files with 5 additions and 5 deletions

View File

@ -225,17 +225,17 @@ _gimp_prop_gui_new_generic (GObject *config,
&label_str);
gtk_widget_show (spin_scale);
g_object_set_data_full (G_OBJECT (vbox),
"gimp-underlying-widget",
g_object_ref_sink (spin_scale),
g_object_unref);
range_label_str = gegl_param_spec_get_property_key (pspec,
"range-label");
if (range_label_str)
label_str = range_label_str;
g_object_set_data_full (G_OBJECT (vbox),
"gimp-underlying-widget",
g_object_ref_sink (spin_scale),
g_object_unref);
gtk_spin_button_get_increments (GTK_SPIN_BUTTON (spin_scale),
&step_increment, &page_increment);