vcl/inc/unx/gtk/gtkframe.hxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 2ae3e4c0d2bad001bc3d33f4939f15b5077160a0
Author: Caolán McNamara <[email protected]>
AuthorDate: Wed Feb 25 11:03:21 2026 +0000
Commit: Caolán McNamara <[email protected]>
CommitDate: Wed Feb 25 14:08:16 2026 +0100
We always use on_registrar_available/on_registrar_unavailable
regardless of the ENABLE_DBUS/ENABLE_GIO thing, so just drop
that to avoid
vcl/unx/gtk3/gtkframe.cxx:624:6: error: externally available entity
'on_registrar_available' is not previously declared in an included file (if it
is only used in this translation unit, make it static; otherwise, provide a
declaration of it in an included file) [loplugin:external]
Change-Id: I5ada3e5a2a50a249f7735827593222567e45ef79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200307
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Caolán McNamara <[email protected]>
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index 9f3901547635..d7876fb4c2c5 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -233,11 +233,9 @@ class GtkSalFrame final : public SalFrame
GtkSalMenu* m_pSalMenu;
-#if ENABLE_DBUS && ENABLE_GIO
private:
friend void on_registrar_available (GDBusConnection*, const gchar*, const
gchar*, gpointer);
friend void on_registrar_unavailable (GDBusConnection*, const gchar*,
gpointer);
-#endif
guint m_nWatcherId;
void Init( SalFrame* pParent, SalFrameStyleFlags nStyle );