[Xfce4-commits] <thunar-vcs-plugin:master> Fix crash in the svn status callback.

Stefan Sperling noreply at xfce.org
Mon Sep 3 16:26:03 CEST 2012


Updating branch refs/heads/master
         to 7d4a5f0c9f4e5bd8494afd882aa8a6964e3122d5 (commit)
       from 90df17306c18cb0c8c20e2f38b9213c3371f301a (commit)

commit 7d4a5f0c9f4e5bd8494afd882aa8a6964e3122d5
Author: Stefan Sperling <stsp at stsp.name>
Date:   Sun Aug 19 18:57:02 2012 +0200

    Fix crash in the svn status callback.
    
    Pass the status callback baton correctly to svn_client_status5().

 thunar-vcs-plugin/tvp-svn-backend.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/thunar-vcs-plugin/tvp-svn-backend.c b/thunar-vcs-plugin/tvp-svn-backend.c
index 86e284e..b235487 100644
--- a/thunar-vcs-plugin/tvp-svn-backend.c
+++ b/thunar-vcs-plugin/tvp-svn-backend.c
@@ -254,7 +254,7 @@ tvp_svn_backend_get_status (const gchar *uri)
 #elif CHECK_SVN_VERSION(1,6)
   err = svn_client_status4 (NULL, path, &revision, status_callback3, &list, svn_depth_immediates, TRUE, FALSE, TRUE, TRUE, NULL, ctx, subpool);
 #else /* CHECK_SVN_VERSION(1,7) */
-  err = svn_client_status5 (NULL, ctx, path, &revision, svn_depth_immediates, TRUE, FALSE, TRUE, TRUE, TRUE, NULL, status_callback, list, subpool);
+  err = svn_client_status5 (NULL, ctx, path, &revision, svn_depth_immediates, TRUE, FALSE, TRUE, TRUE, TRUE, NULL, status_callback, &list, subpool);
 #endif
 
   svn_pool_destroy (subpool);


More information about the Xfce4-commits mailing list