diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-12-20 19:49:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-12-21 09:42:50 +0100 |
commit | 1b3589bb4a7da27be9b1ec3573d6dcaa834416b8 (patch) | |
tree | 8937f9d25102fc0cc66eac9e5b8546d59089f3d9 /onlineupdate | |
parent | d7bfa244a8f4f4b2c4fa3eedb5bb804f7542eaef (diff) |
Replace more deprecated gtk_hbox_new/gtk_vbox_new with gtk_box_new
Change-Id: I8a0d36150f6436312beccfdf628fec1a26dc4466
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108060
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'onlineupdate')
-rw-r--r-- | onlineupdate/source/update/updater/progressui_gtk.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/onlineupdate/source/update/updater/progressui_gtk.cxx b/onlineupdate/source/update/updater/progressui_gtk.cxx index 7c3bcfcd8b2d..961e4cdd92b9 100644 --- a/onlineupdate/source/update/updater/progressui_gtk.cxx +++ b/onlineupdate/source/update/updater/progressui_gtk.cxx @@ -107,7 +107,8 @@ ShowProgressUI() gtk_window_set_icon(GTK_WINDOW(sWin), pixbuf); g_object_unref(pixbuf); - GtkWidget *vbox = gtk_vbox_new(TRUE, 6); + GtkWidget *vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6); + gtk_box_set_homogeneous(GTK_BOX(vbox), true); sLabel = gtk_label_new(strings.info); gtk_misc_set_alignment(GTK_MISC(sLabel), 0.0f, 0.0f); sProgressBar = gtk_progress_bar_new(); |