[gtk+] [broadway] Remove window from hashtable when destroyed
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] [broadway] Remove window from hashtable when destroyed
- Date: Fri, 15 Apr 2011 18:39:26 +0000 (UTC)
commit c331d397f0428f3dbf1ba27de1ebf740a07bc72b
Author: Alexander Larsson <alexl redhat com>
Date: Fri Apr 15 16:18:11 2011 +0200
[broadway] Remove window from hashtable when destroyed
gdk/broadway/gdkwindow-broadway.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/broadway/gdkwindow-broadway.c b/gdk/broadway/gdkwindow-broadway.c
index aa6973d..db1f80d 100644
--- a/gdk/broadway/gdkwindow-broadway.c
+++ b/gdk/broadway/gdkwindow-broadway.c
@@ -492,6 +492,8 @@ _gdk_broadway_window_destroy (GdkWindow *window,
}
broadway_display = GDK_BROADWAY_DISPLAY (gdk_window_get_display (window));
+ g_hash_table_remove (broadway_display->id_ht, GINT_TO_POINTER(impl->id));
+
if (broadway_display->output)
broadway_output_destroy_surface (broadway_display->output,
impl->id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]