[Libreoffice-commits] core.git: Branch 'libreoffice-7-2' - vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 18 12:44:46 UTC 2021


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

New commits:
commit 53f3db2829472d735fa3975c40e105a6ca38c674
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Jun 18 10:46:22 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Jun 18 14:44:13 2021 +0200

    rename signalToggled to signalMenuButtonToggled
    
    Change-Id: I10a4d08d2c4cc7482e0a46a4a1039918ef4dc51f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117440
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index d1121f048b21..f50d98a5fb05 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -9220,7 +9220,7 @@ private:
     WidgetBackground m_aCustomBackground;
 #endif
 
-    static void signalToggled(GtkWidget*, gpointer widget)
+    static void signalMenuButtonToggled(GtkWidget*, gpointer widget)
     {
         GtkInstanceMenuButton* pThis = static_cast<GtkInstanceMenuButton*>(widget);
         SolarMutexGuard aGuard;
@@ -9852,7 +9852,7 @@ public:
                 gtk_window_set_type_hint(m_pMenuHack, GDK_WINDOW_TYPE_HINT_COMBO);
                 gtk_window_set_modal(m_pMenuHack, true);
                 gtk_window_set_resizable(m_pMenuHack, false);
-                m_nSignalId = g_signal_connect(GTK_TOGGLE_BUTTON(m_pMenuButton), "toggled", G_CALLBACK(signalToggled), this);
+                m_nSignalId = g_signal_connect(GTK_TOGGLE_BUTTON(m_pMenuButton), "toggled", G_CALLBACK(signalMenuButtonToggled), this);
                 g_signal_connect(m_pMenuHack, "grab-broken-event", G_CALLBACK(signalGrabBroken), this);
                 g_signal_connect(m_pMenuHack, "button-release-event", G_CALLBACK(signalButtonRelease), this);
                 g_signal_connect(m_pMenuHack, "key-press-event", G_CALLBACK(keyPress), this);


More information about the Libreoffice-commits mailing list