Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 385602 - Omit build errors on deprecated 2 GTK_TOOLTIPS functions
Summary: Omit build errors on deprecated 2 GTK_TOOLTIPS functions
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.3 M2   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 340067
  Show dependency tree
 
Reported: 2012-07-20 09:42 EDT by Anatoly Spektor CLA
Modified: 2013-05-24 09:34 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anatoly Spektor CLA 2012-07-20 09:42:38 EDT
Build Identifier: I20120608-1400

This patch gets rid of 2 build errors regarding constants GTK_TOOLTIPS_SET_ACTIVE and GTK_TOOLTIPS_GET_TIP_TEXT when compiling with GTK_DISABLE_DEPRECATED:

http://fedorapeople.org/gitweb?p=aspektor/public_git/eclipse.platform.swt.git;a=commit;h=36ea08d66c566356aa390ad2592ea9d800acc142 

Reproducible: Always
Comment 1 Silenio Quarti CLA 2012-08-01 15:39:46 EDT
The code in java checks for VERSION>=2.12.0.  This patch checks for VERSION>=2.8.0.  

Wouldn't this be a problem for the versions in between?
Comment 2 Anatoly Spektor CLA 2012-08-01 15:54:33 EDT
My bad, I don't know why I put 2.8. Should be 2.12.

 Please use this one:

 http://fedorapeople.org/gitweb?p=aspektor/public_git/eclipse.platform.swt.git;a=commit;h=f5bbfe3fdda9846d37e1566349c7153a18ad458f