LOK: don't use unstable API unconditionally when including the GTK header

Change-Id: I679ddfdadbf4746d3fba64d3d5157ec070b4f6dd
This commit is contained in:
Miklos Vajna 2015-09-11 14:47:17 +02:00
parent 064fd83421
commit 88c51cd55d
2 changed files with 1 additions and 1 deletions

View file

@ -13,7 +13,6 @@
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#define LOK_USE_UNSTABLE_API
#include <LibreOfficeKit/LibreOfficeKit.h>
G_BEGIN_DECLS

View file

@ -16,6 +16,7 @@
#include <boost/property_tree/json_parser.hpp>
#include <gdk/gdkkeysyms.h>
#define LOK_USE_UNSTABLE_API
#include <LibreOfficeKit/LibreOfficeKitGtk.h>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>