diff options
author | Elliot Lee <sopwith@src.gnome.org> | 1998-01-02 04:31:37 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 1998-01-02 04:31:37 +0000 |
commit | 2b65feb5a5bcea5701fea8f08e852ed1172a3f46 (patch) | |
tree | 1fd54501b6f861c17206363bc6929d3fc7bb8f2f /tests | |
parent | af9e316ce68828fdc77110b06e77502126bec759 (diff) | |
download | gtk+-2b65feb5a5bcea5701fea8f08e852ed1172a3f46.tar.gz |
Fix warnings in testgtk
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgtk.c | 5 |
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; |