summaryrefslogtreecommitdiff
path: root/tests/testselection.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testselection.c')
-rw-r--r--tests/testselection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testselection.c b/tests/testselection.c
index 99d68f06c..73345435b 100644
--- a/tests/testselection.c
+++ b/tests/testselection.c
@@ -357,7 +357,7 @@ selection_received (GtkWidget *widget, GtkSelectionData *data)
void
paste (GtkWidget *widget, GtkWidget *entry)
{
- char *name;
+ const char *name;
GdkAtom atom;
name = gtk_entry_get_text (GTK_ENTRY(entry));