[gnome-terminal] window: Disconnect signal handler from the right object
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] window: Disconnect signal handler from the right object
- Date: Fri, 24 May 2013 22:23:05 +0000 (UTC)
commit 8cd6fb6ae915dca3cc8f8d420148c5e63202af79
Author: Christian Persch <chpe gnome org>
Date: Sat May 25 00:22:19 2013 +0200
window: Disconnect signal handler from the right object
https://bugzilla.redhat.com/show_bug.cgi?id=966713
src/terminal-window.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index c5258ad..a88b2a6 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1959,6 +1959,7 @@ terminal_window_dispose (GObject *object)
TerminalWindow *window = TERMINAL_WINDOW (object);
TerminalWindowPrivate *priv = window->priv;
TerminalApp *app;
+ TerminalSettingsList *profiles_list;
GdkScreen *screen;
GtkClipboard *clipboard;
GSList *list, *l;
@@ -1987,7 +1988,8 @@ terminal_window_dispose (GObject *object)
disconnect_profiles_from_actions_in_group (priv->new_terminal_action_group);
app = terminal_app_get ();
- g_signal_handlers_disconnect_by_func (app,
+ profiles_list = terminal_app_get_profiles_list (app);
+ g_signal_handlers_disconnect_by_func (profiles_list,
G_CALLBACK (terminal_window_profile_list_changed_cb),
window);
g_signal_handlers_disconnect_by_func (app,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]