[PATCH] thunar-vcs-plugin: fix crash during svn status
Stefan Sperling
stsp at stsp.name
Wed Aug 22 13:37:46 CEST 2012
Fix crash in the svn status callback.
Pass the status callback baton correctly to svn_client_status5().
Obvious fix.
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-dev
mailing list