signal with class offset , but never used in nautilus_file and nautilus_directory
- From: gachen gachen <pipigachen gmail com>
- To: nautilus-list gnome org
- Subject: signal with class offset , but never used in nautilus_file and nautilus_directory
- Date: Thu, 27 May 2010 11:43:49 +0800
Hi,
in nautilus-file.c
signals[CHANGED] =
g_signal_new ("changed",
G_TYPE_FROM_CLASS (class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (NautilusFileClass, changed),
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
signals[UPDATED_DEEP_COUNT_IN_PROGRESS] =
g_signal_new ("updated_deep_count_in_progress",
G_TYPE_FROM_CLASS (class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (NautilusFileClass, updated_deep_count_in_progress),
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
but , none of "changed" and "updated_deep_count_in_progress" is defined. So should we set the class offset to NULL?
the same problem also in nautilus-directory.c , for signal, "files_added", "files_changed", "done_loading" and "load_error".
Br, Chen Gang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]