[Libreoffice-commits] core.git: vcl/unx
Stephan Bergmann
sbergman at redhat.com
Fri Jun 19 02:09:35 PDT 2015
vcl/unx/gtk3/app/gtk3gtkinst.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit c38e0f01ac23dc6b75c8bf23af277940310097d1
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jun 19 11:09:05 2015 +0200
Work around G_DEFINE_TYPE -Werror,-Wunused-function
(like 8313f68355a7f1f51e930c74f215d823ff086457)
Change-Id: Id170cc95f5271d3e5c3fa84dafd848e7f8a96503
diff --git a/vcl/unx/gtk3/app/gtk3gtkinst.cxx b/vcl/unx/gtk3/app/gtk3gtkinst.cxx
index a45a5e1..2dedd2d 100644
--- a/vcl/unx/gtk3/app/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/app/gtk3gtkinst.cxx
@@ -247,7 +247,14 @@ struct _ClipboardOwnerClass
#define CLIPBOARD_OWNER_OBJECT (clipboard_owner_get_type ())
#define CLIPBOARD_OWNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLIPBOARD_OWNER_OBJECT, ClipboardOwner))
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-function"
+#endif
G_DEFINE_TYPE(ClipboardOwner, clipboard_owner, G_TYPE_OBJECT);
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
static void clipboard_owner_class_init (ClipboardOwnerClass *)
{
More information about the Libreoffice-commits
mailing list