diff options
author | Benjamin Otte <otte@redhat.com> | 2017-11-15 18:13:31 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-11-15 19:07:17 +0100 |
commit | 4c4e914806028fd6dee78f9cd4efed3eb1f32e43 (patch) | |
tree | b74184568c91e85a4098d27edf3117facd89828e /tests/testselection.c | |
parent | cb941956d3f2003f6fa3551d44e42221b1345393 (diff) | |
download | gtk+-4c4e914806028fd6dee78f9cd4efed3eb1f32e43.tar.gz |
gdk: Replace GDK_NONE with NULL
Diffstat (limited to 'tests/testselection.c')
-rw-r--r-- | tests/testselection.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |