aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2013-02-21 18:37:49 (EST)
committerLakshmi Shanmugam2013-02-28 03:26:17 (EST)
commita8cffe709727bd59ba0d9473c059e13d355129fa (patch)
tree756bf4c047ec61c58958a9d03c47be857da60334
parent8ad6973d699e081ede4b03288c98f3f9d38d10e8 (diff)
downloadeclipse.platform.swt-a8cffe709727bd59ba0d9473c059e13d355129fa.zip
eclipse.platform.swt-a8cffe709727bd59ba0d9473c059e13d355129fa.tar.gz
eclipse.platform.swt-a8cffe709727bd59ba0d9473c059e13d355129fa.tar.bz2
Remove don't comment what doesn't belong here.
Should have been done in previous commit.
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java
index 3315ad5..8282c90 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java
@@ -259,19 +259,6 @@ void createHandle (int index) {
fixedHandle = OS.g_object_new (display.gtk_fixed_get_type (), 0);
if (fixedHandle == 0) error (SWT.ERROR_NO_HANDLES);
gtk_widget_set_has_window (fixedHandle, true);
-// if (OS.GTK3) {
-// String button_css = ".button {\n" +
-// "-GtkButton-default-border : 0px;\n" +
-// "-GtkWidget-focus-line-width : 0px;\n" +
-// "-GtkWidget-focus-padding : 0px;\n" +
-// "padding-bottom: 0px;\n" +
-// "}" ;
-// byte[] data = Converter.wcsToMbcs (null, button_css, true);
-// long /*int*/ provider = OS.gtk_css_provider_new();
-// OS.gtk_css_provider_load_from_data(provider, data, -1, null);
-// OS.gtk_style_context_add_provider_for_screen (OS.gdk_screen_get_default(), provider, OS.GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
-// OS.g_object_unref (provider);
-// }
switch (style & bits) {
case SWT.ARROW:
int arrow_type = OS.GTK_ARROW_UP;