From 006bf1246a0d3de2c87923d9d0be240c733bb216 Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Mon, 28 Nov 2016 15:24:26 +0200 Subject: 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 --- .../org.eclipse.equinox.executable.feature/library/gtk/eclipseGtk.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtk.h') diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtk.h b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtk.h index 6e2cd52bd..b23c9fb09 100644 --- a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtk.h +++ b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtk.h @@ -23,7 +23,6 @@ struct GTK_PTRS { gboolean (*gtk_init_check) (int*, char***); gboolean (*gtk_init_with_args) (int*, char***, const char *, void *, const char *, GError **); GtkWidget* (*gtk_message_dialog_new) (GtkWindow*, GtkDialogFlags, GtkMessageType, GtkButtonsType, const gchar*, ...); - gchar* (*gtk_set_locale) (); void (*gtk_widget_destroy) (GtkWidget*); void (*gtk_widget_destroyed) (GtkWidget*, GtkWidget**); void (*gtk_widget_show_all) (GtkWidget*); @@ -37,7 +36,6 @@ struct GTK_PTRS { gulong (*g_signal_connect_data) (gpointer, const gchar*, GCallback, gpointer, GClosureNotify, GConnectFlags); gboolean (*g_main_context_iteration) (GMainContext*, gboolean); void (*g_object_unref) (gpointer); - GObject* (*g_object_new) (GType, const gchar*, ...); guint (*g_timeout_add) (guint, GSourceFunc, gpointer); void (*g_error_free) (GError *); @@ -51,7 +49,6 @@ struct GTK_PTRS { GdkPixbuf* (*gdk_pixbuf_scale_simple) (const GdkPixbuf*, int, int, GdkInterpType); int (*gdk_pixbuf_get_width) (const GdkPixbuf*); int (*gdk_pixbuf_get_height) (const GdkPixbuf*); - void (*gdk_set_program_class) (const char*); GdkScreen * (*gdk_screen_get_default) (); double (*gdk_screen_get_resolution) (GdkScreen *); -- cgit v1.2.3