m-default-nodes*: Remove suffixes in hooks name
Suffix is redundant for on events as Events names and Event chains are printed with 847c0. Update the settings file used.
This commit is contained in:

committed by
Julian Bouzas

parent
ff03094d67
commit
9337bb25ef
@@ -173,7 +173,7 @@ wp_default_nodes_api_enable (WpPlugin * plugin, WpTransition * transition)
|
||||
g_return_if_fail (dispatcher);
|
||||
|
||||
/* default metadata added */
|
||||
hook = wp_simple_event_hook_new ("default-nodes-api-on-metadata-added", 10,
|
||||
hook = wp_simple_event_hook_new ("default-nodes", 10,
|
||||
WP_EVENT_HOOK_EXEC_TYPE_ON_EVENT,
|
||||
g_cclosure_new ((GCallback) on_metadata_added, self, NULL));
|
||||
wp_interest_event_hook_add_interest (WP_INTEREST_EVENT_HOOK (hook),
|
||||
@@ -185,7 +185,7 @@ wp_default_nodes_api_enable (WpPlugin * plugin, WpTransition * transition)
|
||||
g_clear_object(&hook);
|
||||
|
||||
/* default metadata changed */
|
||||
hook = wp_simple_event_hook_new ("default-nodes-api-on-metadata-changed", 10,
|
||||
hook = wp_simple_event_hook_new ("default-nodes", 10,
|
||||
WP_EVENT_HOOK_EXEC_TYPE_ON_EVENT,
|
||||
g_cclosure_new ((GCallback) on_metadata_changed_hook, self, NULL));
|
||||
wp_interest_event_hook_add_interest (WP_INTEREST_EVENT_HOOK (hook),
|
||||
|
Reference in New Issue
Block a user