[gnome-terminal/gnome-3-8] window: Disconnect signal handler from the right object
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-3-8] window: Disconnect signal handler from the right object
- Date: Fri, 24 May 2013 22:23:21 +0000 (UTC)
commit a47d9d258807521d05be2c6c1d0992163dabbb27
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
(cherry picked from commit 8cd6fb6ae915dca3cc8f8d420148c5e63202af79)
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 9f54ec6..3670da0 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -2001,6 +2001,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;
@@ -2029,7 +2030,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]