Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 218776 Details for
Bug 382812
Eclipse crashes with Gtk:ERROR after showing workbench (Ubuntu 10.10 amd64)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
possible fix
PR382812.patch (text/plain), 932 bytes, created by
Silenio Quarti
on 2012-07-16 17:40:55 EDT
(
hide
)
Description:
possible fix
Filename:
MIME Type:
Creator:
Silenio Quarti
Created:
2012-07-16 17:40:55 EDT
Size:
932 bytes
patch
obsolete
>diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java >index 7404d61..2ca1f6f 100644 >--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java >+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java >@@ -4232,7 +4232,11 @@ public boolean setParent (Composite parent) { > oldDecorations.fixAccelGroup (); > } > int /*long*/ newParent = parent.parentingHandle(); >- OS.gtk_widget_reparent (topHandle, newParent); >+// OS.gtk_widget_reparent (topHandle, newParent); >+ OS.g_object_ref(topHandle); >+ OS.gtk_container_remove(OS.gtk_widget_get_parent(topHandle), topHandle); >+ OS.gtk_container_add(newParent, topHandle); >+ OS.g_object_unref(topHandle); > OS.gtk_fixed_move (newParent, topHandle, x, y); > /* > * Restore the original widget size since GTK does not keep it.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 382812
:
218584
| 218776