[libdazzle/libdazzle-3-28] multi-paned: unregister child window before destroying it



commit 6fa64ddd5ae66845d9fe7b3807dc3583b407f716
Author: Christian Hergert <chergert redhat com>
Date:   Sat Jul 28 01:05:28 2018 -0700

    multi-paned: unregister child window before destroying it

 src/widgets/dzl-multi-paned.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/widgets/dzl-multi-paned.c b/src/widgets/dzl-multi-paned.c
index f0632cd..ad1683d 100644
--- a/src/widgets/dzl-multi-paned.c
+++ b/src/widgets/dzl-multi-paned.c
@@ -383,6 +383,7 @@ dzl_multi_paned_destroy_child_handle (DzlMultiPaned      *self,
 
   if (child->handle != NULL)
     {
+      gtk_widget_unregister_window (GTK_WIDGET (self), child->handle);
       gdk_window_destroy (child->handle);
       child->handle = NULL;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]