Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2016-12-15 14:57:59 -0500
committerAlexander Kurtakov2016-12-19 04:24:04 -0500
commit2d0711bbe78feb3cb98541d13b2a6edabe05c5d1 (patch)
tree19cf0a16d09ce74444bdd543d44501907270b1d9
parentffb4e8a0f155701096796cefc80a085688c572bf (diff)
downloadrt.equinox.framework-2d0711bbe78feb3cb98541d13b2a6edabe05c5d1.tar.gz
rt.equinox.framework-2d0711bbe78feb3cb98541d13b2a6edabe05c5d1.tar.xz
rt.equinox.framework-2d0711bbe78feb3cb98541d13b2a6edabe05c5d1.zip
Bug 509311 - Replace GtkSignalFunc with GCallback
GtkSignalFunc is gone in GTK3 and GGcallback is available in the min GLib required. Change-Id: If72db866935d1b0bb4b48c6abc93b2cc870822ca Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtk.c b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtk.c
index 361c3d098..bccbe8c80 100644
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtk.c
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtk.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2011 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -261,7 +261,7 @@ int showSplash( const char* featureImage )
shellHandle = gtk.gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk.gtk_window_set_decorated((GtkWindow*)(shellHandle), FALSE);
gtk.gtk_window_set_type_hint((GtkWindow*)(shellHandle), 4 /*GDK_WINDOW_TYPE_HINT_SPLASHSCREEN*/);
- gtk.g_signal_connect_data((gpointer)shellHandle, "destroy", (GtkSignalFunc)(gtk.gtk_widget_destroyed), &shellHandle, NULL, 0);
+ gtk.g_signal_connect_data((gpointer)shellHandle, "destroy", (GCallback)(gtk.gtk_widget_destroyed), &shellHandle, NULL, 0);
pixbuf = gtk.gdk_pixbuf_new_from_file(featureImage, NULL);
width = gtk.gdk_pixbuf_get_width(pixbuf);

Back to the top