mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-27 14:26:02 +01:00
Do not store unused signal handle
This commit is contained in:
parent
f5300ce2fa
commit
36065d3bf3
1 changed files with 2 additions and 10 deletions
|
@ -21,13 +21,6 @@ enum {
|
|||
PROP_FILE_PATH
|
||||
};
|
||||
|
||||
enum {
|
||||
RELOAD_FILE,
|
||||
LAST_SIGNAL
|
||||
};
|
||||
|
||||
static guint signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
static void
|
||||
finalize(GObject* object)
|
||||
{
|
||||
|
@ -94,9 +87,8 @@ zathura_filemonitor_class_init(ZathuraFileMonitorClass* class)
|
|||
G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/* add signals */
|
||||
signals[RELOAD_FILE] =
|
||||
g_signal_new("reload-file", ZATHURA_TYPE_FILEMONITOR, G_SIGNAL_RUN_LAST, 0,
|
||||
NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 0);
|
||||
g_signal_new("reload-file", ZATHURA_TYPE_FILEMONITOR, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_generic,
|
||||
G_TYPE_NONE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue