summaryrefslogtreecommitdiff
path: root/tests/examples/gl
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2014-07-17 10:05:47 +0100
committerTim-Philipp Müller <tim@centricular.com>2014-07-17 10:14:03 +0100
commit1533fc7e2d0bc904c229083ef415cd8f04b57ee0 (patch)
treeb978ec48968050d3bdae42b2de092acf6eae8c3d /tests/examples/gl
parent8d5217141a530e8d4e632bafa5a364c48b40f4f8 (diff)
examples: fix compilation of gl fxtest example on win32 with Gtk+ 3.0
https://bugzilla.gnome.org/show_bug.cgi?id=733063
Diffstat (limited to 'tests/examples/gl')
-rw-r--r--tests/examples/gl/gtk/fxtest/pixbufdrop.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/examples/gl/gtk/fxtest/pixbufdrop.c b/tests/examples/gl/gtk/fxtest/pixbufdrop.c
index 4b26c3eb0..463add362 100644
--- a/tests/examples/gl/gtk/fxtest/pixbufdrop.c
+++ b/tests/examples/gl/gtk/fxtest/pixbufdrop.c
@@ -141,10 +141,6 @@ on_drag_data_received (GtkWidget * widget,
GtkSelectionData * seldata, guint inf, guint time, gpointer data)
{
SourceData *userdata = g_new0 (SourceData, 1);
-#ifdef G_OS_WIN32
- gchar *filename =
- g_filename_from_uri ((const gchar *) seldata->data, NULL, NULL);
-#else
GdkPixbufFormat *format;
gchar **uris = gtk_selection_data_get_uris (seldata);
gchar *filename = NULL;
@@ -156,7 +152,6 @@ on_drag_data_received (GtkWidget * widget,
g_return_if_fail (format);
g_print ("received %s image: %s\n", filename,
gdk_pixbuf_format_get_name (format));
-#endif
userdata->nick = (gchar *) "location";
userdata->value = g_strdup (filename);