[gimp] app: return visible widgets from a few more gimp_prop() functions



commit 552991b2d27a3b81400fe02ed3168dabf78ddb4d
Author: Ell <ell_se yahoo com>
Date:   Fri Jul 31 20:46:14 2020 +0300

    app: return visible widgets from a few more gimp_prop() functions
    
    ... in particular, this fixes the Rotate Colors prop-gui.

 app/propgui/gimppropgui-color-rotate.c | 2 ++
 app/widgets/gimppropwidgets.c          | 4 ++++
 2 files changed, 6 insertions(+)
---
diff --git a/app/propgui/gimppropgui-color-rotate.c b/app/propgui/gimppropgui-color-rotate.c
index 97a346d500..6b8b26c634 100644
--- a/app/propgui/gimppropgui-color-rotate.c
+++ b/app/propgui/gimppropgui-color-rotate.c
@@ -146,6 +146,8 @@ gimp_prop_angle_range_box_new (GObject     *config,
                     G_CALLBACK (select_all_clicked),
                     dial);
 
+  gtk_widget_show (main_hbox);
+
   return main_hbox;
 }
 
diff --git a/app/widgets/gimppropwidgets.c b/app/widgets/gimppropwidgets.c
index c9560c0435..6a6929dd8a 100644
--- a/app/widgets/gimppropwidgets.c
+++ b/app/widgets/gimppropwidgets.c
@@ -949,6 +949,8 @@ gimp_prop_angle_range_dial_new (GObject     *config,
                           G_BINDING_BIDIRECTIONAL |
                           G_BINDING_SYNC_CREATE);
 
+  gtk_widget_show (dial);
+
   return dial;
 }
 
@@ -1063,6 +1065,8 @@ gimp_prop_range_new (GObject     *config,
   if (sorted)
     gimp_gtk_adjustment_chain (adjustment1, adjustment2);
 
+  gtk_widget_show (vbox);
+
   return vbox;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]