summaryrefslogtreecommitdiff
path: root/gdk/gdkevents.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-14 23:35:08 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-12-14 23:35:08 -0500
commit9194ee4973de9f3ff2a68d7135bf79d8c0e56ca3 (patch)
tree75113c4733f50a2d48e7bbf955a0b2830675a762 /gdk/gdkevents.c
parent65fc43a1f3cb1af2d890b02a155ac8d3928c2cd2 (diff)
downloadgtk+-9194ee4973de9f3ff2a68d7135bf79d8c0e56ca3.tar.gz
gdk: Drop GDK_DAMAGE
We haven't been generating events of this type since we dropped offscreen windows.
Diffstat (limited to 'gdk/gdkevents.c')
-rw-r--r--gdk/gdkevents.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index a3ec633453..9f788a863d 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -652,7 +652,6 @@ gdk_event_copy (const GdkEvent *event)
break;
case GDK_EXPOSE:
- case GDK_DAMAGE:
if (event->expose.region)
new_event->expose.region = cairo_region_copy (event->expose.region);
break;
@@ -755,7 +754,6 @@ gdk_event_finalize (GObject *object)
break;
case GDK_EXPOSE:
- case GDK_DAMAGE:
if (event->expose.region)
cairo_region_destroy (event->expose.region);
break;
@@ -859,7 +857,6 @@ gdk_event_get_time (const GdkEvent *event)
case GDK_CONFIGURE:
case GDK_FOCUS_CHANGE:
case GDK_NOTHING:
- case GDK_DAMAGE:
case GDK_DELETE:
case GDK_DESTROY:
case GDK_EXPOSE:
@@ -930,7 +927,6 @@ gdk_event_get_state (const GdkEvent *event,
case GDK_FOCUS_CHANGE:
case GDK_PROXIMITY_IN:
case GDK_PROXIMITY_OUT:
- case GDK_DAMAGE:
case GDK_DRAG_ENTER:
case GDK_DRAG_LEAVE:
case GDK_DRAG_MOTION: