Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2016-11-28 13:24:26 +0000
committerAlexander Kurtakov2016-11-29 08:19:40 +0000
commit006bf1246a0d3de2c87923d9d0be240c733bb216 (patch)
tree57caaa3f50328ee0ca71da80f58c7c52a1d66e52 /features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c
parent459572de84a844b16a669def2bb5cc5a6d5b8ffb (diff)
downloadrt.equinox.framework-006bf1246a0d3de2c87923d9d0be240c733bb216.tar.gz
rt.equinox.framework-006bf1246a0d3de2c87923d9d0be240c733bb216.tar.xz
rt.equinox.framework-006bf1246a0d3de2c87923d9d0be240c733bb216.zip
Bug 508291 - Remove unneeded gtk calls
Function gtk_set_locale call is not needed with gtk 2.24+ as gtk_init does it by default. Also remove other unused binding too. Change-Id: I92ca6d16d502ddbd2ef8603320cffdd59afa6996 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c
index a244a825d..7dbc86012 100644
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c
@@ -90,7 +90,6 @@ int initWindowSystem(int* pArgc, char* argv[], int showSplash)
}
/* Initialize GTK. */
- if (gtk.gtk_set_locale) gtk.gtk_set_locale();
if (gtk.gtk_init_with_args) {
GError *error = NULL;
if (!gtk.gtk_init_with_args(0, NULL, NULL, NULL, NULL, &error)) {

Back to the top