Title: [185801] trunk/Tools
- Revision
- 185801
- Author
- [email protected]
- Date
- 2015-06-20 15:50:58 -0700 (Sat, 20 Jun 2015)
Log Message
[GTK] Define GDK_VERSION_MIN_REQUIRED when compiling MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=146186
Reviewed by Martin Robinson.
Define GDK_VERSION_MIN_REQUIRED when compiling MiniBrowser to silence several dozen
deprecation warnings. (MiniBrowser is unique in that it does not include wtf/Platform.h.)
* MiniBrowser/gtk/CMakeLists.txt:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (185800 => 185801)
--- trunk/Tools/ChangeLog 2015-06-20 22:47:39 UTC (rev 185800)
+++ trunk/Tools/ChangeLog 2015-06-20 22:50:58 UTC (rev 185801)
@@ -1,3 +1,15 @@
+2015-06-20 Michael Catanzaro <[email protected]>
+
+ [GTK] Define GDK_VERSION_MIN_REQUIRED when compiling MiniBrowser
+ https://bugs.webkit.org/show_bug.cgi?id=146186
+
+ Reviewed by Martin Robinson.
+
+ Define GDK_VERSION_MIN_REQUIRED when compiling MiniBrowser to silence several dozen
+ deprecation warnings. (MiniBrowser is unique in that it does not include wtf/Platform.h.)
+
+ * MiniBrowser/gtk/CMakeLists.txt:
+
2015-06-19 Ryosuke Niwa <[email protected]>
Build fix after r146125.
Modified: trunk/Tools/MiniBrowser/gtk/CMakeLists.txt (185800 => 185801)
--- trunk/Tools/MiniBrowser/gtk/CMakeLists.txt 2015-06-20 22:47:39 UTC (rev 185800)
+++ trunk/Tools/MiniBrowser/gtk/CMakeLists.txt 2015-06-20 22:50:58 UTC (rev 185801)
@@ -49,9 +49,11 @@
add_definitions(-DWEBKIT_INJECTED_BUNDLE_PATH="${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")
endif ()
+add_definitions(-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_6)
+
include_directories(${MiniBrowser_INCLUDE_DIRECTORIES})
add_executable(MiniBrowser ${MiniBrowser_SOURCES})
target_link_libraries(MiniBrowser ${MiniBrowser_LIBRARIES})
set_target_properties(MiniBrowser PROPERTIES FOLDER "Tools")
-install(TARGETS MiniBrowser DESTINATION "${EXEC_INSTALL_DIR}")
\ No newline at end of file
+install(TARGETS MiniBrowser DESTINATION "${EXEC_INSTALL_DIR}")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes