diff options
author | Priyank Gosalia <priyankmg@gmail.com> | 2012-09-26 20:59:20 +0200 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2012-09-26 20:59:20 +0200 |
commit | 9ceae105dce96ed03b77c2fe7adcfd7dd8c54fd8 (patch) | |
tree | 15183326dec390a004f36443c7369ffd67391ac1 /docs | |
parent | 9316fd300d0ccb01cb428d9840c1856be4f97468 (diff) | |
download | thunar-9ceae105dce96ed03b77c2fe7adcfd7dd8c54fd8.tar.gz |
Fix function name typo in API docs (bug #5459).
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/thunarx/tmpl/thunarx-menu-provider.sgml | 2 | ||||
-rw-r--r-- | docs/reference/thunarx/tmpl/thunarx-preferences-provider.sgml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/thunarx/tmpl/thunarx-menu-provider.sgml b/docs/reference/thunarx/tmpl/thunarx-menu-provider.sgml index 5828d007..b294fcb9 100644 --- a/docs/reference/thunarx/tmpl/thunarx-menu-provider.sgml +++ b/docs/reference/thunarx/tmpl/thunarx-menu-provider.sgml @@ -74,7 +74,7 @@ hello_get_file_actions (ThunarxMenuProvider *provider, GClosure *closure; action = gtk_action_new ("Hello::say-hello", "Say hello", "Say hello", NULL); - closure = g_cclosure_object_new_swap (G_CALLBACK (hello_activated), G_OBJECT (window)); + closure = g_cclosure_new_object_swap (G_CALLBACK (hello_activated), G_OBJECT (window)); g_signal_connect_closure (G_OBJECT (action), "activate", closure, TRUE); return g_list_append (NULL, action); diff --git a/docs/reference/thunarx/tmpl/thunarx-preferences-provider.sgml b/docs/reference/thunarx/tmpl/thunarx-preferences-provider.sgml index 684390a6..8514b69a 100644 --- a/docs/reference/thunarx/tmpl/thunarx-preferences-provider.sgml +++ b/docs/reference/thunarx/tmpl/thunarx-preferences-provider.sgml @@ -67,7 +67,7 @@ hello_get_actions (ThunarxPreferencesProvider *provider, GClosure *closure; action = gtk_action_new ("Hello::say-hello", "Say hello", "Say hello", NULL); - closure = g_cclosure_object_new_swap (G_CALLBACK (hello_activated), G_OBJECT (window)); + closure = g_cclosure_new_object_swap (G_CALLBACK (hello_activated), G_OBJECT (window)); g_signal_connect_closure (G_OBJECT (action), "activate", closure, TRUE); return g_list_prepend (NULL, action); |