[gimp/gimp-2-10] app: misc cleanup in prop-gui range creation
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: misc cleanup in prop-gui range creation
- Date: Wed, 3 Jun 2020 12:37:26 +0000 (UTC)
commit 3c61965075146ffb4350c062400b1195a53a9bc9
Author: Ell <ell_se yahoo com>
Date: Wed Jun 3 10:13:50 2020 +0300
app: misc cleanup in prop-gui range creation
(cherry picked from commit ca351d352034e90286d62d3974860b5463926602)
app/propgui/gimppropgui-generic.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/app/propgui/gimppropgui-generic.c b/app/propgui/gimppropgui-generic.c
index 117eac8e53..a7c7e893a7 100644
--- a/app/propgui/gimppropgui-generic.c
+++ b/app/propgui/gimppropgui-generic.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]