[gnome-builder/wip/gtk4-port: 623/736] libide/gui: use destroy signal




commit 46a94adb7912e1696b182cf8b2cf8eac25c83fcd
Author: Christian Hergert <chergert redhat com>
Date:   Mon Apr 18 14:59:27 2022 -0700

    libide/gui: use destroy signal
    
    We don't need to use the (now removed) custom destroyed signal.

 src/libide/gui/ide-page.c | 2 +-
 src/libide/gui/ide-pane.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/gui/ide-page.c b/src/libide/gui/ide-page.c
index 5eb630cf9..c09fe9f6a 100644
--- a/src/libide/gui/ide-page.c
+++ b/src/libide/gui/ide-page.c
@@ -620,7 +620,7 @@ ide_page_observe (IdePage  *self,
 
   *location = self;
   g_signal_connect_swapped (self,
-                            "destroyed",
+                            "destroy",
                             G_CALLBACK (g_nullify_pointer),
                             location);
 }
diff --git a/src/libide/gui/ide-pane.c b/src/libide/gui/ide-pane.c
index 6405bf321..9d2df3544 100644
--- a/src/libide/gui/ide-pane.c
+++ b/src/libide/gui/ide-pane.c
@@ -72,7 +72,7 @@ ide_pane_observe (IdePane  *self,
 
   *location = self;
   g_signal_connect_swapped (self,
-                            "destroyed",
+                            "destroy",
                             G_CALLBACK (g_nullify_pointer),
                             location);
 }


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