Bug 384651 - Use gtk_widget_get_mapped() instead of deprecated GTK_WIDGET_MAPPED
Summary: Use gtk_widget_get_mapped() instead of deprecated GTK_WIDGET_MAPPED
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-09 15:33 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-09 15:33:34 EDT
Build Identifier: I20120503-1800

This patch omits use of deprecated method GTK_WIDGET_MAPPED and uses gtk_widget_get_mapped() instead:

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

Reproducible: Always
Comment 1 Anatoly Spektor CLA 2012-07-10 15:05:32 EDT
This additional patch removes  GTK_WIDGET_MAPPED "implicit declaration"  warning when building SWT with GTK_DISABLE_DEPRECATED flag:

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