[gimp] app: replace gtk_hbox_new() by gtk_box_new().



commit a4ff65cbada656bcdf6d59aef2266b88c20917cf
Author: Jehan <jehan girinstud io>
Date:   Thu Nov 17 00:46:29 2016 +0100

    app: replace gtk_hbox_new() by gtk_box_new().
    
    This is a wrapper for the GTK+3 migration.

 app/widgets/gimpcolordialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpcolordialog.c b/app/widgets/gimpcolordialog.c
index b3c35bc..67ef7a6 100644
--- a/app/widgets/gimpcolordialog.c
+++ b/app/widgets/gimpcolordialog.c
@@ -141,7 +141,7 @@ gimp_color_dialog_constructed (GObject *object)
   G_OBJECT_CLASS (parent_class)->constructed (object);
 
   /* Color history box. */
-  hbox = gtk_hbox_new (FALSE, 4);
+  hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
   gtk_box_pack_end (GTK_BOX (GIMP_COLOR_SELECTION (dialog->selection)->right_vbox),
                     hbox, FALSE, FALSE, 0);
   gtk_widget_show (hbox);


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