[gnome-shell] shell-js: Kill some compile warnings



commit b494c15e4bc58e83d3d5da07d61f4809d34e1c68
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Feb 22 17:41:10 2014 -0500

    shell-js: Kill some compile warnings
    
    jsapi.h has some bad warnings with gcc. gjs-module.h already includes
    jsapi.h and uses a complicated set of GCC pragmas to mask them out, so
    just kill our include.

 src/shell-js.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-js.cpp b/src/shell-js.cpp
index 7d057c9..4ed8796 100644
--- a/src/shell-js.cpp
+++ b/src/shell-js.cpp
@@ -4,7 +4,6 @@
 
 #include "shell-js.h"
 
-#include <jsapi.h>
 #include <gio/gio.h>
 #include <gjs/gjs.h>
 #include <gjs/gjs-module.h>


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