Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 384507 - Use gtk_widget_set_has_window() instead of gtk_fixed_set_has_window()
Summary: Use gtk_widget_set_has_window() instead of gtk_fixed_set_has_window()
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-06 15:35 EDT by Anatoly Spektor CLA
Modified: 2013-05-24 09:34 EDT (History)
2 users (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-06 15:35:02 EDT
Build Identifier:  I20120503-1800

This patch omits use of deprecated function gtk_fixed_set_has_window() and uses gtk_widget_Set_has_window() instead:

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

Reproducible: Always
Comment 1 Silenio Quarti CLA 2012-08-01 10:43:05 EDT
Pushed to eclipse.org

http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=0d23f871e57d5ad4ac4223f8da9d549bb534627e

Decided to add a helper to share the set_has_window() code since it is used in many places.

http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=e9e22c53a60c9c658a4f6a4c696542fdb7101ed7
Comment 2 Silenio Quarti CLA 2012-08-01 13:46:35 EDT
Renamed setHasWindow() helper to match GTK function.

http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=481acb697d7ad58259b5d7499b52ef20ae98feaf