diff options
author | Anatoly Spektor | 2012-08-13 16:49:56 +0000 |
---|---|---|
committer | Arun Thondapu | 2012-08-14 09:15:36 +0000 |
commit | 73b8760cc71f23fc1adf4097ba30ab56c13451ed (patch) | |
tree | e33f8414ecff2894d424832622f04bf1db92da35 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | |
parent | 31720edb505f97bebd7f644d62b276e4d39389cb (diff) | |
download | eclipse.platform.swt-73b8760cc71f23fc1adf4097ba30ab56c13451ed.tar.gz eclipse.platform.swt-73b8760cc71f23fc1adf4097ba30ab56c13451ed.tar.xz eclipse.platform.swt-73b8760cc71f23fc1adf4097ba30ab56c13451ed.zip |
Omit use of gdk_drawable_get_size for newer GTK+ and make it dynamic
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java index 2f5964ebe6..b48eeea42e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java @@ -1255,7 +1255,7 @@ int /*long*/ gtk_expose_event (int /*long*/ widget, int /*long*/ event) { int /*long*/ window = gtk_widget_get_window (widget); int [] width = new int [1]; int [] height = new int [1]; - OS.gdk_drawable_get_size (window, width, height); + gdk_window_get_size (window, width, height); GdkRectangle area = new GdkRectangle (); area.x = gdkEventExpose.area_x; area.y = gdkEventExpose.area_y; |