mirror of
https://github.com/transmission/transmission
synced 2024-12-24 00:34:04 +00:00
(trunk gtk) remove unused code: tr_core_quit()
This commit is contained in:
parent
cb99607614
commit
bf2835c557
2 changed files with 0 additions and 20 deletions
|
@ -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
|
||||
**/
|
||||
|
|
|
@ -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
|
||||
**/
|
||||
|
|
Loading…
Reference in a new issue