[evince] browser-plugin: Replace gdkwayland.h include with gdk.h



commit bf7a4fcdf6211e11d94dfe9fed82113d92e24eb7
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Tue Sep 6 13:32:12 2016 +0800

    browser-plugin: Replace gdkwayland.h include with gdk.h
    
    GDK_WINDOWING_WAYLAND macro is defined in gdkconfig.h, not gdkwayland.h,
    so including gdk.h is sufficient. This also fixes build on systems not
    supporting Wayland.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770924

 browser-plugin/EvBrowserPluginMain.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/browser-plugin/EvBrowserPluginMain.cpp b/browser-plugin/EvBrowserPluginMain.cpp
index a54d1e0..3552320 100644
--- a/browser-plugin/EvBrowserPluginMain.cpp
+++ b/browser-plugin/EvBrowserPluginMain.cpp
@@ -22,7 +22,7 @@
 #include "EvMemoryUtils.h"
 #include "npfunctions.h"
 #include "npruntime.h"
-#include <gdk/gdkwayland.h>
+#include <gdk/gdk.h>
 
 static NPNetscapeFuncs *browser;
 static unique_gptr<char> mimeDescription;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]