From bf2835c557cc84b90a43f73ce058dc9aed987fa6 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 23 Dec 2010 21:50:09 +0000 Subject: [PATCH] (trunk gtk) remove unused code: tr_core_quit() --- gtk/tr-core.c | 17 ----------------- gtk/tr-core.h | 3 --- 2 files changed, 20 deletions(-) diff --git a/gtk/tr-core.c b/gtk/tr-core.c index 27face730..da9a1aa9c 100644 --- a/gtk/tr-core.c +++ b/gtk/tr-core.c @@ -65,7 +65,6 @@ enum BUSY_SIGNAL, PORT_SIGNAL, PREFS_SIGNAL, - QUIT_SIGNAL, LAST_SIGNAL }; @@ -178,16 +177,6 @@ tr_core_class_init( gpointer g_class, G_TYPE_NONE, 1, G_TYPE_BOOLEAN ); - core_signals[QUIT_SIGNAL] = g_signal_new( - "quit", - G_TYPE_FROM_CLASS( g_class ), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET(TrCoreClass, quit), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, - 0 ); - core_signals[PREFS_SIGNAL] = g_signal_new( "prefs-changed", G_TYPE_FROM_CLASS( g_class ), @@ -1377,12 +1366,6 @@ tr_core_update( TrCore * self ) maybeInhibitHibernation( self ); } -void -tr_core_quit( TrCore * core ) -{ - g_signal_emit( core, core_signals[QUIT_SIGNAL], 0 ); -} - /** *** Hibernate **/ diff --git a/gtk/tr-core.h b/gtk/tr-core.h index 4eb3f8593..1b45604ed 100644 --- a/gtk/tr-core.h +++ b/gtk/tr-core.h @@ -153,9 +153,6 @@ void tr_core_remove_torrent_from_id( TrCore * self, int id, gboolean deleteFile /* update the model with current torrent status */ void tr_core_update( TrCore * self ); -/* emit the "quit" signal */ -void tr_core_quit( TrCore * self ); - /** *** Set a preference value, save the prefs file, and emit the "prefs-changed" signal **/