summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2004-07-14 21:09:48 +0000
committerFelipe Heidrich <fheidric>2004-07-14 21:09:48 +0000
commit12d130cb4332a4845bcf0cce6120014733136f99 (patch)
treecb4c30220f6cd91a6830341088342c34fa20df29 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java
parent857230dde8be1397ae2557844c139695d4aaa4a3 (diff)
downloadeclipse.platform.swt-12d130cb4332a4845bcf0cce6120014733136f99.tar.gz
eclipse.platform.swt-12d130cb4332a4845bcf0cce6120014733136f99.tar.xz
eclipse.platform.swt-12d130cb4332a4845bcf0cce6120014733136f99.zip
stack order work
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java
index ef0e83d6d1..b2c357d1d5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java
@@ -112,7 +112,7 @@ public Rectangle computeTrim (int x, int y, int width, int height) {
void createHandle(int index) {
state |= HANDLE;
- fixedHandle = OS.gtk_fixed_new ();
+ fixedHandle = OS.g_object_new (display.gtk_fixed_get_type (), 0);
if (fixedHandle == 0) error (SWT.ERROR_NO_HANDLES);
OS.gtk_fixed_set_has_window (fixedHandle, true);
handle = OS.gtk_frame_new (null);
@@ -121,7 +121,7 @@ void createHandle(int index) {
if (labelHandle == 0) error (SWT.ERROR_NO_HANDLES);
OS.g_object_ref (labelHandle);
OS.gtk_object_sink (labelHandle);
- clientHandle = OS.gtk_fixed_new();
+ clientHandle = OS.g_object_new (display.gtk_fixed_get_type (), 0);
if (clientHandle == 0) error (SWT.ERROR_NO_HANDLES);
OS.gtk_container_add (fixedHandle, handle);
OS.gtk_container_add (handle, clientHandle);