Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 386931 - Omit use of deprecated constants GTK_TEXTVIEW_IM_CONTEXT and GTK_ENTRY_IM_CONTEXT
Summary: Omit use of deprecated constants GTK_TEXTVIEW_IM_CONTEXT and GTK_ENTRY_IM_CO...
Status: CLOSED DUPLICATE of bug 387315
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 340067
  Show dependency tree
 
Reported: 2012-08-09 09:50 EDT by Anatoly Spektor CLA
Modified: 2012-10-24 17:19 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-08-09 09:50:24 EDT
When compiling with #define GSEAL_ENABLE I get 2 errors:

os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS_GTK_1ENTRY_1IM_1CONTEXT’:
os.c:146:17: error: ‘GtkEntry’ has no member named ‘im_context’


os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS_GTK_1TEXTVIEW_1IM_1CONTEXT’:
os.c:266:17: error: ‘GtkTextView’ has no member named ‘im_context’


constants are used in widgets: Combo, Spinner, Text
Comment 1 Anatoly Spektor CLA 2012-08-09 12:05:07 EDT
After exploring GTK API, I didn't find any easy way to replace these 2 functions with existing GTK API methods, If someone has any idea how it could be done, please share your thoughts.
Comment 2 Silenio Quarti CLA 2012-10-24 17:19:35 EDT
Other bug is more useful.

*** This bug has been marked as a duplicate of bug 387315 ***