summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-02-22 11:23:30 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-02-22 15:20:28 +0100
commit56e5c2c35d8febb17decaae1d526d3c98ae08f09 (patch)
tree4d74259a8c6c058a05515c51a164f2e40b0d35f0 /vcl/unx
parent4c3ee61e3eda0cbfd812443f80af89aa3a24ac73 (diff)
gtk4 a11y: Move LO_ACCESSIBLE define to header
... and the LO_TYPE_ACCESSIBLE one as well, for use elsewhere in an upcoming commit. Change-Id: Ib7294ce0aa0c275a405c2ff87c8de8493c36a61b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163732 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk4/a11y.cxx4
-rw-r--r--vcl/unx/gtk4/a11y.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/gtk4/a11y.cxx b/vcl/unx/gtk4/a11y.cxx
index 6bc89f15c401..19cb941b9158 100644
--- a/vcl/unx/gtk4/a11y.cxx
+++ b/vcl/unx/gtk4/a11y.cxx
@@ -390,10 +390,6 @@ applyObjectAttributes(GtkAccessible* pGtkAccessible,
} while (nIndex >= 0);
}
-#define LO_TYPE_ACCESSIBLE (lo_accessible_get_type())
-#define LO_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LO_TYPE_ACCESSIBLE, LoAccessible))
-// #define LO_IS_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LO_TYPE_ACCESSIBLE))
-
struct LoAccessibleClass
{
GObjectClass parent_class;
diff --git a/vcl/unx/gtk4/a11y.hxx b/vcl/unx/gtk4/a11y.hxx
index 7fc0b2acdab9..0dd9d507ba6a 100644
--- a/vcl/unx/gtk4/a11y.hxx
+++ b/vcl/unx/gtk4/a11y.hxx
@@ -32,4 +32,8 @@ LoAccessible*
lo_accessible_new(GdkDisplay* pDisplay, GtkAccessible* pParent,
const css::uno::Reference<css::accessibility::XAccessible>& rAccessible);
+#define LO_TYPE_ACCESSIBLE (lo_accessible_get_type())
+#define LO_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LO_TYPE_ACCESSIBLE, LoAccessible))
+// #define LO_IS_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LO_TYPE_ACCESSIBLE))
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */