diff options
author | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-04-30 23:15:58 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-04-30 23:15:58 +0000 |
commit | 4461f119849629f1ecca1003e78113d8cc3aa8fc (patch) | |
tree | 3e94257d3eaedb4c10176f0d2e703d471ed4693f | |
parent | cdf1940aa5107ae317b8f3696e6bb0808f8c422f (diff) |
Disconnect from toplevel configure events at finalize-time.vte_0_3_1
* src/vte.c: Disconnect from toplevel configure events at finalize-time.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/vte.c | 11 | ||||
-rw-r--r-- | vte.spec | 5 |
3 files changed, 18 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2002-04-30 nalin + * src/vte.c: Disconnect from toplevel window_configure events at + finalize-time. + 2002-04-30 18:06 nalin * src/vte.c: Track and free idle task tags properly. Change F11 and F12 capabilities from 'k;' and 'F1' to 'F1' and 'F2'. Send a NUL on @@ -3940,7 +3940,7 @@ vte_terminal_hierarchy_changed(GtkWidget *widget, GtkWidget *old_toplevel, if (GTK_IS_WIDGET(old_toplevel)) { g_signal_handlers_disconnect_by_func(G_OBJECT(old_toplevel), vte_terminal_configure_toplevel, - NULL); + terminal); } toplevel = gtk_widget_get_toplevel(widget); @@ -5652,6 +5652,7 @@ static void vte_terminal_finalize(GObject *object) { VteTerminal *terminal; + GtkWidget *toplevel; GObjectClass *object_class; GtkWidgetClass *widget_class; @@ -5673,6 +5674,14 @@ vte_terminal_finalize(GObject *object) g_source_remove(terminal->pvt->bg_transparent_update_tag); } + /* Disconnect from toplevel window configure events. */ + toplevel = gtk_widget_get_toplevel(GTK_WIDGET(object)); + if ((toplevel != NULL) && (G_OBJECT(toplevel) != G_OBJECT(object))) { + g_signal_handlers_disconnect_by_func(toplevel, + vte_terminal_configure_toplevel, + terminal); + } + /* Free any selected text. */ if (terminal->pvt->selection != NULL) { g_free(terminal->pvt->selection); @@ -1,5 +1,5 @@ Name: vte -Version: 0.3 +Version: 0.3.1 Release: 1 Summary: An experimental terminal emulator. License: LGPL @@ -52,6 +52,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_libdir}/pkgconfig/* %changelog +* Tue Apr 30 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3.1-1 +- disconnect from the configure_toplevel signal at finalize-time + * Tue Apr 30 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3-1 - add an accessiblity object |