summaryrefslogtreecommitdiff
path: root/gdk/gdkdrop.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-06-14 04:58:50 +0200
committerBenjamin Otte <otte@redhat.com>2018-06-18 23:49:52 +0200
commita960641aced074fc59204814409487d4017bcffe (patch)
treed93a6d91ca2bf63ed05b0778b8b951f332c144a9 /gdk/gdkdrop.c
parentf982c9c8f8280ee00446055edf0438bb73da4e4b (diff)
downloadgtk+-a960641aced074fc59204814409487d4017bcffe.tar.gz
dnd: GdkDragContext is no longer a GdkDrop subclass
This includes a bunch of header cleanup
Diffstat (limited to 'gdk/gdkdrop.c')
-rw-r--r--gdk/gdkdrop.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdk/gdkdrop.c b/gdk/gdkdrop.c
index 0873a2ee0d..f17f709ea8 100644
--- a/gdk/gdkdrop.c
+++ b/gdk/gdkdrop.c
@@ -19,7 +19,7 @@
#include "config.h"
-#include "gdkdndprivate.h"
+#include "gdkdropprivate.h"
#include "gdkcontentdeserializer.h"
#include "gdkcontentformats.h"
@@ -187,18 +187,14 @@ gdk_drop_set_property (GObject *gobject,
case PROP_FORMATS:
priv->formats = g_value_dup_boxed (value);
-#ifdef DROP_SUBCLASS
g_assert (priv->formats != NULL);
-#endif
break;
case PROP_SURFACE:
priv->surface = g_value_dup_object (value);
-#ifdef DROP_SUBCLASS
g_assert (priv->surface != NULL);
if (priv->device)
g_assert (gdk_surface_get_display (priv->surface) == gdk_device_get_display (priv->device));
-#endif
break;
default: