[Libreoffice-commits] core.git: vcl/unx

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sun Dec 20 20:16:28 UTC 2020


 vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6ede5a08c11e328ec2f71533faf3005e1a5a653e
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun Dec 20 19:54:15 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Dec 20 21:15:48 2020 +0100

    Replace deprecated gtk_hbox_new/gtk_vbox_new with gtk_box_new
    
    Change-Id: I9dfe85800e627470a942d11178b6c079ee839328
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108057
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx
index 6e27e777d373..f1395f1e5c7a 100644
--- a/vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx
@@ -134,8 +134,8 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference< uno::XComponentContext
     m_pVBox = gtk_vbox_new( false, 0 );
 
     // We don't want clickable items to have a huge hit-area
-    GtkWidget *pHBox = gtk_hbox_new( false, 0 );
-    GtkWidget *pThinVBox = gtk_vbox_new( false, 0 );
+    GtkWidget *pHBox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
+    GtkWidget *pThinVBox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
 
     gtk_box_pack_end (GTK_BOX( m_pVBox ), pHBox, false, false, 0);
     gtk_box_pack_start (GTK_BOX( pHBox ), pThinVBox, false, false, 0);


More information about the Libreoffice-commits mailing list