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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Dec 20 19:32:13 UTC 2020


 vcl/unx/gtk3/gtk3gtkinst.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 87834219c5e09880e48e28fd8a0f796a0848e39b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Dec 20 16:59:14 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Dec 20 20:31:26 2020 +0100

    GtkAlignment is a GtkContainer so the GTK_IS_CONTAINER branch is sufficient
    
    Change-Id: I055526f2fda723bc2fd6323559b313e6c55928d0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108051
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index a2a3c1dae87d..8b157df99ff9 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -6951,8 +6951,6 @@ protected:
     GtkWidget* get_label_widget()
     {
         GtkWidget* pChild = gtk_bin_get_child(GTK_BIN(m_pButton));
-        if (GTK_IS_ALIGNMENT(pChild))
-            pChild = gtk_bin_get_child(GTK_BIN(pChild));
 
         if (GTK_IS_CONTAINER(pChild))
             pChild = find_label_widget(GTK_CONTAINER(pChild));


More information about the Libreoffice-commits mailing list