[Xfce4-commits] <terminal:master> Remove dispose function.

Nick Schermer noreply at xfce.org
Wed Dec 26 20:36:01 CET 2012


Updating branch refs/heads/master
         to 5fa703427e62513e9690945a13dd467aabf8f610 (commit)
       from 32d867487108ab1e1ae73f51c0dd7d899bae3070 (commit)

commit 5fa703427e62513e9690945a13dd467aabf8f610
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Dec 26 20:35:18 2012 +0100

    Remove dispose function.
    
    No signals connected anymore. This is now handled in the screen.

 terminal/terminal-window.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index fe724fe..acd23bd 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -66,7 +66,6 @@ enum
 
 
 
-static void            terminal_window_dispose                       (GObject                *object);
 static void            terminal_window_finalize                      (GObject                *object);
 static gboolean        terminal_window_delete_event                  (GtkWidget              *widget,
                                                                       GdkEventAny            *event);
@@ -280,7 +279,6 @@ terminal_window_class_init (TerminalWindowClass *klass)
   GObjectClass   *gobject_class;
 
   gobject_class = G_OBJECT_CLASS (klass);
-  gobject_class->dispose = terminal_window_dispose;
   gobject_class->finalize = terminal_window_finalize;
 
   gtkwidget_class = GTK_WIDGET_CLASS (klass);
@@ -440,20 +438,6 @@ terminal_window_init (TerminalWindow *window)
 
 
 static void
-terminal_window_dispose (GObject *object)
-{
-  TerminalWindow *window = TERMINAL_WINDOW (object);
-
-  g_signal_handlers_disconnect_matched (G_OBJECT (window->preferences),
-                                        G_SIGNAL_MATCH_DATA,
-                                        0, 0, NULL, NULL, window);
-
-  (*G_OBJECT_CLASS (terminal_window_parent_class)->dispose) (object);
-}
-
-
-
-static void
 terminal_window_finalize (GObject *object)
 {
   TerminalWindow *window = TERMINAL_WINDOW (object);


More information about the Xfce4-commits mailing list