[nautilus/wip/coreyberla/app-chooser-fixes: 12/16] app-chooser: Make sure to disconnect "application-selected" signal
- From: Corey Berla <coreyberla src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/coreyberla/app-chooser-fixes: 12/16] app-chooser: Make sure to disconnect "application-selected" signal
- Date: Mon, 8 Aug 2022 21:37:54 +0000 (UTC)
commit 68c9710c8475567034c9d7daaffd395ded3df89b
Author: Corey Berla <corey berla me>
Date: Sun Aug 7 21:16:29 2022 -0700
app-chooser: Make sure to disconnect "application-selected" signal
src/nautilus-app-chooser.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-app-chooser.c b/src/nautilus-app-chooser.c
index d14ae08d9..00af912a7 100644
--- a/src/nautilus-app-chooser.c
+++ b/src/nautilus-app-chooser.c
@@ -180,10 +180,8 @@ nautilus_app_chooser_constructed (GObject *object)
info, self);
}
- g_signal_connect (self->app_chooser_widget,
- "application-selected",
- G_CALLBACK (on_application_selected),
- self);
+ g_signal_connect_object (self->app_chooser_widget, "application-selected",
+ G_CALLBACK (on_application_selected), self, 0);
if (self->file_name != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]