[mutter] frames: Remove the destroy_event handler
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] frames: Remove the destroy_event handler
- Date: Tue, 20 Jan 2015 05:56:52 +0000 (UTC)
commit ce14bde08d592e1596d8dd93529830c1c0985f58
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Jan 19 11:19:57 2015 -0800
frames: Remove the destroy_event handler
It does nothing.
src/ui/frames.c | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 9908544..ab37e6f 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -51,8 +51,6 @@ static gboolean meta_frames_button_release_event (GtkWidget *widget,
GdkEventButton *event);
static gboolean meta_frames_motion_notify_event (GtkWidget *widget,
GdkEventMotion *event);
-static gboolean meta_frames_destroy_event (GtkWidget *widget,
- GdkEventAny *event);
static gboolean meta_frames_draw (GtkWidget *widget,
cairo_t *cr);
static gboolean meta_frames_enter_notify_event (GtkWidget *widget,
@@ -121,7 +119,6 @@ meta_frames_class_init (MetaFramesClass *class)
widget_class->style_updated = meta_frames_style_updated;
widget_class->draw = meta_frames_draw;
- widget_class->destroy_event = meta_frames_destroy_event;
widget_class->button_press_event = meta_frames_button_press_event;
widget_class->button_release_event = meta_frames_button_release_event;
widget_class->motion_notify_event = meta_frames_motion_notify_event;
@@ -1379,23 +1376,6 @@ meta_frames_motion_notify_event (GtkWidget *widget,
return TRUE;
}
-static gboolean
-meta_frames_destroy_event (GtkWidget *widget,
- GdkEventAny *event)
-{
- MetaUIFrame *frame;
- MetaFrames *frames;
-
- frames = META_FRAMES (widget);
-
- frame = meta_frames_lookup_window (frames, GDK_WINDOW_XID (event->window));
- if (frame == NULL)
- return FALSE;
-
- return TRUE;
-}
-
-
static cairo_region_t *
get_visible_frame_border_region (MetaUIFrame *frame)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]