summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testgtk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 5aaaa0293f..b96b9b3d11 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -790,7 +790,9 @@ create_handle_box ()
{
static GtkWidget* window = NULL;
GtkWidget* hbox;
+#if 0
GtkWidget* button;
+#endif
if (!window)
{
@@ -2266,7 +2268,7 @@ dnd_drop (GtkWidget *button, GdkEvent *event)
+ strlen(event->dropdataavailable.data_type) + 100);
sprintf(msg, "Drop data of type %s was:\n\n%s",
event->dropdataavailable.data_type,
- event->dropdataavailable.data);
+ (char *)event->dropdataavailable.data);
lbl = gtk_label_new(msg);
gtk_label_set_justify(GTK_LABEL(lbl), GTK_JUSTIFY_FILL);
g_free(msg);
@@ -2305,7 +2307,6 @@ create_dnd ()
GtkWidget *box1;
GtkWidget *box2;
GtkWidget *box3;
- GtkWidget *entry;
GtkWidget *frame;
GtkWidget *button;
GtkWidget *separator;