diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-09-29 13:18:49 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-09-29 20:27:49 +0200 |
commit | 618d474f059a75c2ac04df16c830d71a88690118 (patch) | |
tree | 5f70a3dfc0a7af9f5e01ab52f17c57e4f5da8d0c /vcl/unx/gtk | |
parent | a7756236858788b11816cbaba433768ba4ccc72a (diff) |
band-aid: deprecated-declarations related to gtk
Don't hesitate to revert this one but only if there's a patch to fix it.
Change-Id: Ib15352e1a94d0542120f6710acfe19887494ed51
Reviewed-on: https://gerrit.libreoffice.org/61142
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r-- | vcl/unx/gtk/gloactiongroup.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vcl/unx/gtk/gloactiongroup.cxx b/vcl/unx/gtk/gloactiongroup.cxx index b058417b821f..73a432769a08 100644 --- a/vcl/unx/gtk/gloactiongroup.cxx +++ b/vcl/unx/gtk/gloactiongroup.cxx @@ -327,8 +327,14 @@ g_lo_action_group_class_init (GLOActionGroupClass *klass) GObjectClass *object_class = G_OBJECT_CLASS (klass); object_class->finalize = g_lo_action_group_finalize; - +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif g_type_class_add_private (klass, sizeof (GLOActionGroupPrivate)); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } static void |