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 /gtk/gtkcalendar.c | |
parent | cb941956d3f2003f6fa3551d44e42221b1345393 (diff) | |
download | gtk+-4c4e914806028fd6dee78f9cd4efed3eb1f32e43.tar.gz |
gdk: Replace GDK_NONE with NULL
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r-- | gtk/gtkcalendar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c index 7d4d07de82..aaf2293670 100644 --- a/gtk/gtkcalendar.c +++ b/gtk/gtkcalendar.c @@ -2948,7 +2948,7 @@ gtk_calendar_drag_motion (GtkWidget *widget, } target = gtk_drag_dest_find_target (widget, context, NULL); - if (target == GDK_NONE || gdk_drag_context_get_suggested_action (context) == 0) + if (target == NULL || gdk_drag_context_get_suggested_action (context) == 0) gdk_drag_status (context, 0, time); else { @@ -2969,7 +2969,7 @@ gtk_calendar_drag_drop (GtkWidget *widget, GdkAtom target; target = gtk_drag_dest_find_target (widget, context, NULL); - if (target != GDK_NONE) + if (target != NULL) { gtk_drag_get_data (widget, context, target, |