MantisBT - NetSurf
View Issue Details
0002113NetSurfGTK-specificpublic2014-04-29 15:102016-02-16 15:29
ReporterAlexander Rødseth 
Assigned ToVincent Sanders 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
Platform64-bit LinuxOSArch LinuxOS Versionrolling release
Product Version3.1 
Target Version3.4Fixed in Version3.4 
Fixed in CI build #2714
Reported in CI build #
URL of problem page
Summary0002113: Does not compile with GTK 3.12.1
DescriptionThis is on 64-bit Arch Linux with NetSurf 3.1 and GTK 3.12.1.

When compiling NetSurf with GTK2, it compiles fine.

However, when compiling with GTK3, there are several warnings and errors.

Here is an example of one of the errors:

./gtk/scaffolding.h:104:2: error: unknown type name ‘GtkImageMenuItem’
  GtkImageMenuItem *rclick;
  ^

As I understand, GTK3 has removed the small icons on the context menus in the latest version, among others.

The relevant build flag is NETSURF_GTK_MAJOR=3.
Steps To ReproduceBuild netsurf with NETSURF_GTK_MAJOR=3 and GTK 3.12.1.
Additional InformationI see that several of the missing functions and defines are present in /usr/include/gtk-3.0/gtk/deprecated. Don't know if that is relevant or of any help. Probably not. I assume you wish to move away from the deprecated functions.

Attaching the error log.
TagsNo tags attached.
Attached Fileslog error.log (4,556) 2014-04-29 15:10
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=126&type=bug

Notes
(0000823)
Vincent Sanders   
2015-04-12 09:48   
I have added compatibility interfaces and cleaned up the GTK interface so it will not compile cleanly with no depreciation issues from GTK 2.12 through to GTK 3.14
(0001319)
Vincent Sanders   
2016-02-16 15:29   
Confirmed resolved in 3.4 release

Issue History
2014-04-29 15:10Alexander RødsethNew Issue
2014-04-29 15:10Alexander RødsethFile Added: error.log
2014-04-30 13:39Vincent SandersStatusnew => acknowledged
2015-04-12 09:48Vincent SandersFixed in CI build # => 2714
2015-04-12 09:48Vincent SandersNote Added: 0000823
2015-04-12 09:48Vincent SandersAssigned To => Vincent Sanders
2015-04-12 09:48Vincent SandersStatusacknowledged => resolved
2015-04-12 09:48Vincent SandersResolutionopen => fixed
2015-04-12 09:48Vincent SandersFixed in Version => 3.4
2015-04-12 09:48Vincent SandersTarget Version => 3.4
2016-02-16 15:29Vincent SandersNote Added: 0001319
2016-02-16 15:29Vincent SandersStatusresolved => closed