summaryrefslogtreecommitdiff
path: root/gtk/gtkcalendar.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-15 18:13:31 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-15 19:07:17 +0100
commit4c4e914806028fd6dee78f9cd4efed3eb1f32e43 (patch)
treeb74184568c91e85a4098d27edf3117facd89828e /gtk/gtkcalendar.c
parentcb941956d3f2003f6fa3551d44e42221b1345393 (diff)
downloadgtk+-4c4e914806028fd6dee78f9cd4efed3eb1f32e43.tar.gz
gdk: Replace GDK_NONE with NULL
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r--gtk/gtkcalendar.c4
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,