[gimp/gimp-2-10] app: fix type warning.



commit 487c01f8d1848944cd173d59a38ce965ec54bef5
Author: Jehan <jehan girinstud io>
Date:   Wed Dec 19 16:01:06 2018 +0100

    app: fix type warning.
    
    I missed this warning when reviewing commit a9a979b2d0.
    My bad!
    
    (cherry picked from commit 182786b4fbfe6ead1cd146a4261487f829d144b2)

 app/display/gimpstatusbar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/display/gimpstatusbar.c b/app/display/gimpstatusbar.c
index 633e896d22..874cfefe15 100644
--- a/app/display/gimpstatusbar.c
+++ b/app/display/gimpstatusbar.c
@@ -234,7 +234,7 @@ gimp_statusbar_init (GimpStatusbar *statusbar)
   store = gimp_unit_store_new (2);
   statusbar->unit_combo = gimp_unit_combo_box_new_with_model (store);
   g_object_unref (store);
-  gtk_combo_box_set_wrap_width (statusbar->unit_combo, 1);
+  gtk_combo_box_set_wrap_width (GTK_COMBO_BOX (statusbar->unit_combo), 1);
 
   gtk_widget_set_can_focus (statusbar->unit_combo, FALSE);
   g_object_set (statusbar->unit_combo, "focus-on-click", FALSE, NULL);


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