gnome-terminal r3406 - branches/gnome-2-26/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r3406 - branches/gnome-2-26/src
- Date: Mon, 30 Mar 2009 17:18:38 +0000 (UTC)
Author: chpe
Date: Mon Mar 30 17:18:38 2009
New Revision: 3406
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3406&view=rev
Log:
Disconnect the encoding-list-changed handler on dispose. Bug #577313.
Modified:
branches/gnome-2-26/src/terminal-window.c
Modified: branches/gnome-2-26/src/terminal-window.c
==============================================================================
--- branches/gnome-2-26/src/terminal-window.c (original)
+++ branches/gnome-2-26/src/terminal-window.c Mon Mar 30 17:18:38 2009
@@ -1893,6 +1893,7 @@
{
TerminalWindow *window = TERMINAL_WINDOW (object);
TerminalWindowPrivate *priv = window->priv;
+ TerminalApp *app;
GdkScreen *screen;
remove_popup_info (window);
@@ -1910,9 +1911,13 @@
if (priv->new_terminal_action_group != NULL)
disconnect_profiles_from_actions_in_group (priv->new_terminal_action_group);
- g_signal_handlers_disconnect_by_func (terminal_app_get (),
+ app = terminal_app_get ();
+ g_signal_handlers_disconnect_by_func (app,
G_CALLBACK (terminal_window_profile_list_changed_cb),
window);
+ g_signal_handlers_disconnect_by_func (app,
+ G_CALLBACK (terminal_window_encoding_list_changed_cb),
+ window);
screen = gtk_widget_get_screen (GTK_WIDGET (object));
if (screen)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]