[Xfce4-commits] <thunar:master> Fix function name typo in API docs (bug #5459).

Nick Schermer noreply at xfce.org
Wed Sep 26 21:00:03 CEST 2012


Updating branch refs/heads/master
         to 9ceae105dce96ed03b77c2fe7adcfd7dd8c54fd8 (commit)
       from 9316fd300d0ccb01cb428d9840c1856be4f97468 (commit)

commit 9ceae105dce96ed03b77c2fe7adcfd7dd8c54fd8
Author: Priyank Gosalia <priyankmg at gmail.com>
Date:   Wed Sep 26 20:59:20 2012 +0200

    Fix function name typo in API docs (bug #5459).

 .../thunarx/tmpl/thunarx-menu-provider.sgml        |    2 +-
 .../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 5828d00..b294fcb 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 684390a..8514b69 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);


More information about the Xfce4-commits mailing list