Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 392212 - Use gdk_window_get_visible_region () instead of gdk_drawable_get_visible_region() for GTK+ 3
Summary: Use gdk_window_get_visible_region () instead of gdk_drawable_get_visible_regi...
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 M3   Edit
Assignee: Alexander Kurtakov CLA
QA Contact:
URL:
Whiteboard: gtk3test
Keywords:
Depends on:
Blocks: 340067
  Show dependency tree
 
Reported: 2012-10-17 14:32 EDT by Anatoly Spektor CLA
Modified: 2012-10-24 14:40 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-10-17 14:32:43 EDT
This patch replaces gdk_drawable_get_visible_region with gdk_window_get_visible_region for GTK+ 3:

http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_window_get_visible_region


I used this documentation as  a source: http://developer.gnome.org/gtk3/3.3/ch25s02.html
Comment 1 Alexander Kurtakov CLA 2012-10-17 15:18:50 EDT
Doesn't affect GTK 2 and looks good in theory. Pushed to master. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=7669785e29b0e39c9bebf42af45663b5c2824a63