diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-20 08:55:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-20 08:55:58 +0100 |
commit | 9a29e2f539fe3ca21229d6073455a736c64cc4e8 (patch) | |
tree | 4c144930f451ffd3ecf048234ae92071c1462bb8 /libreofficekit/qa/gtktiledviewer | |
parent | 5eb7759d445d5ea26f603de03cab3d6bc5b262ee (diff) |
-Werror,-Wdeprecated-declarations
Change-Id: I7c7d3dda02a3745128a5a125b4b6952e087cdcda
Diffstat (limited to 'libreofficekit/qa/gtktiledviewer')
-rw-r--r-- | libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx index 9c2692ceedb8..390f01b5165c 100644 --- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx @@ -19,6 +19,8 @@ #include <boost/optional.hpp> #include <gdk/gdkkeysyms.h> +#include <sal/types.h> + #define LOK_USE_UNSTABLE_API #include <LibreOfficeKit/LibreOfficeKitGtk.h> #include <LibreOfficeKit/LibreOfficeKitEnums.h> @@ -497,7 +499,9 @@ static void createModelAndView(const char* pLOPath, const char* pDocPath, const { GdkRGBA color; gdk_rgba_parse(&color, rArguments[i + 1].c_str()); + SAL_WNODEPRECATED_DECLARATIONS_PUSH gtk_widget_override_background_color(gtk_widget_get_toplevel(pDocView), GTK_STATE_FLAG_NORMAL, &color); + SAL_WNODEPRECATED_DECLARATIONS_POP } } std::stringstream aStream; |