diff options
author | Alexander Kurtakov <akurtako@redhat.com> | 2012-11-06 16:02:28 +0200 |
---|---|---|
committer | Alexander Kurtakov <akurtako@redhat.com> | 2012-11-06 16:02:28 +0200 |
commit | 41219db807d6f3850e60dc8bc3143eb0dbf4e594 (patch) | |
tree | 1cdec2ec0ff977fada98d15da8cef4d187d4f925 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java | |
parent | 0470aaf3914195863c1f0fa4a42b05715cfab8b7 (diff) | |
download | eclipse.platform.swt-41219db807d6f3850e60dc8bc3143eb0dbf4e594.tar.gz eclipse.platform.swt-41219db807d6f3850e60dc8bc3143eb0dbf4e594.tar.xz eclipse.platform.swt-41219db807d6f3850e60dc8bc3143eb0dbf4e594.zip |
Remove unused gdk_pango_context_set_colormap.
Used for pre Gtk 2.6 which is no longer supported.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java index f715234c03..1f7c385b8d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java @@ -651,12 +651,6 @@ void createLayout() { data.layout = layout; OS.pango_context_set_language(context, OS.gtk_get_default_language()); OS.pango_context_set_base_dir(context, (data.style & SWT.MIRRORED) != 0 ? OS.PANGO_DIRECTION_RTL : OS.PANGO_DIRECTION_LTR); - /* - * Colormap is automatically set for GTK 2.6.0 and newer. - */ - if (OS.GTK_VERSION < OS.VERSION(2, 6, 0)) { - OS.gdk_pango_context_set_colormap(context, OS.gdk_colormap_get_system()); - } OS.pango_layout_set_auto_dir(layout, false); } |