From 4c4e914806028fd6dee78f9cd4efed3eb1f32e43 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 15 Nov 2017 18:13:31 +0100 Subject: gdk: Replace GDK_NONE with NULL --- tests/testselection.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/testselection.c') diff --git a/tests/testselection.c b/tests/testselection.c index c6a8e41d8a..67b213faa2 100644 --- a/tests/testselection.c +++ b/tests/testselection.c @@ -114,7 +114,7 @@ init_atoms (void) { int i; - seltypes[SEL_TYPE_NONE] = GDK_NONE; + seltypes[SEL_TYPE_NONE] = NULL; seltypes[APPLE_PICT] = gdk_atom_intern ("APPLE_PICT",FALSE); seltypes[ATOM] = gdk_atom_intern ("ATOM",FALSE); seltypes[ATOM_PAIR] = gdk_atom_intern ("ATOM_PAIR",FALSE); @@ -167,7 +167,7 @@ selection_get (GtkWidget *widget, { guchar *buffer; gint len; - GdkAtom type = GDK_NONE; + GdkAtom type = NULL; if (!selection_string) { @@ -368,7 +368,7 @@ paste (GtkWidget *dialog, gint response, GtkWidget *entry) name = gtk_entry_get_text (GTK_ENTRY(entry)); atom = gdk_atom_intern (name, FALSE); - if (atom == GDK_NONE) + if (atom == NULL) { g_print("Could not create atom: \"%s\"\n",name); return; -- cgit v1.2.1