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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Dec 21 13:57:19 UTC 2020


 vcl/inc/unx/gtk/gtkframe.hxx  |    1 -
 vcl/unx/gtk3/gtk3gtkframe.cxx |    6 ------
 2 files changed, 7 deletions(-)

New commits:
commit 6eb87f03edc8a750e347e2fad8d7000244f8ecca
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Dec 21 09:17:52 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Dec 21 14:56:30 2020 +0100

    drop deprecated visibility-notify-event event handler
    
    we're not doing anything with it anyway
    
    Change-Id: I2498eca95dcea53b1c216bb7786c6c3246b5c5ba
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108082
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index 64e1fa905167..b5614d9934ca 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -260,7 +260,6 @@ class GtkSalFrame final : public SalFrame
     static gboolean     signalWindowState( GtkWidget*, GdkEvent*, gpointer );
     static gboolean     signalScroll( GtkWidget*, GdkEvent*, gpointer );
     static gboolean     signalCrossing( GtkWidget*, GdkEventCrossing*, gpointer );
-    static gboolean     signalVisibility( GtkWidget*, GdkEventVisibility*, gpointer );
     static void         signalDestroy( GtkWidget*, gpointer );
 
     void            Center();
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index c11ea9082244..4a122a0f83bd 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -916,7 +916,6 @@ void GtkSalFrame::InitCommon()
     g_signal_connect( G_OBJECT(m_pWindow), "key-release-event", G_CALLBACK(signalKey), this );
     g_signal_connect( G_OBJECT(m_pWindow), "delete-event", G_CALLBACK(signalDelete), this );
     g_signal_connect( G_OBJECT(m_pWindow), "window-state-event", G_CALLBACK(signalWindowState), this );
-    g_signal_connect( G_OBJECT(m_pWindow), "visibility-notify-event", G_CALLBACK(signalVisibility), this );
     g_signal_connect( G_OBJECT(m_pWindow), "destroy", G_CALLBACK(signalDestroy), this );
 
     // init members
@@ -3470,11 +3469,6 @@ gboolean GtkSalFrame::signalWindowState( GtkWidget*, GdkEvent* pEvent, gpointer
     return false;
 }
 
-gboolean GtkSalFrame::signalVisibility( GtkWidget*, GdkEventVisibility* /*pEvent*/, gpointer /*frame*/ )
-{
-    return true;
-}
-
 namespace
 {
     GdkDragAction VclToGdk(sal_Int8 dragOperation)


More information about the Libreoffice-commits mailing list