From cbff1938a69ef6018432c13a703bff89455e62c8 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 14 Aug 2016 14:46:34 +0200 Subject: [PATCH] Disable deprecation warnings for all sheet related code --- src/ui/gui/pspp-sheet-view-column.c | 2 ++ src/ui/gui/pspp-sheet-view.c | 2 ++ src/ui/gui/pspp-widget-facade.c | 2 ++ src/ui/gui/psppire-cell-renderer-button.c | 2 ++ 4 files changed, 8 insertions(+) diff --git a/src/ui/gui/pspp-sheet-view-column.c b/src/ui/gui/pspp-sheet-view-column.c index 92b0b0e4c5..e7a70d0893 100644 --- a/src/ui/gui/pspp-sheet-view-column.c +++ b/src/ui/gui/pspp-sheet-view-column.c @@ -46,6 +46,8 @@ #include "ui/gui/pspp-sheet-selection.h" #include "ui/gui/pspp-widget-facade.h" +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + #define P_(STRING) STRING #define GTK_PARAM_READABLE G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB #define GTK_PARAM_READWRITE G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB diff --git a/src/ui/gui/pspp-sheet-view.c b/src/ui/gui/pspp-sheet-view.c index 13f05ebf4f..3499c24298 100644 --- a/src/ui/gui/pspp-sheet-view.c +++ b/src/ui/gui/pspp-sheet-view.c @@ -46,6 +46,8 @@ #include "ui/gui/psppire-marshal.h" #include "ui/gui/pspp-sheet-selection.h" +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + #define P_(STRING) STRING #define GTK_PARAM_READABLE G_PARAM_READABLE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB #define GTK_PARAM_READWRITE G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB diff --git a/src/ui/gui/pspp-widget-facade.c b/src/ui/gui/pspp-widget-facade.c index be785dc133..f6406f5043 100644 --- a/src/ui/gui/pspp-widget-facade.c +++ b/src/ui/gui/pspp-widget-facade.c @@ -23,6 +23,8 @@ #include #include +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + static void inset_rectangle (const GdkRectangle *src, const GtkBorder *inset, diff --git a/src/ui/gui/psppire-cell-renderer-button.c b/src/ui/gui/psppire-cell-renderer-button.c index c31a73fce2..62a781ff5f 100644 --- a/src/ui/gui/psppire-cell-renderer-button.c +++ b/src/ui/gui/psppire-cell-renderer-button.c @@ -27,6 +27,8 @@ #include "gl/configmake.h" #include "gl/relocatable.h" +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + #define P_(msgid) (msgid) static void psppire_cell_renderer_button_dispose (GObject *); -- 2.30.2