[Xfce4-commits] [xfce/thunar] 27/46: Fix crashes on operations using dbus calls
noreply at xfce.org
noreply at xfce.org
Tue Aug 15 02:35:35 CEST 2017
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar.
commit 883772868f932e2149d2f7519470a912a3d650da
Author: Romain B <skunnyk at alteroot.org>
Date: Mon May 1 14:30:22 2017 +0200
Fix crashes on operations using dbus calls
- GError needs to be initialized to NULL before being sent to gdbus
- Introduced by the dbus-glib -> GDBus migration
- Thanks to Eric
---
thunar/thunar-thumbnail-cache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/thunar/thunar-thumbnail-cache.c b/thunar/thunar-thumbnail-cache.c
index b5f1526..2648310 100644
--- a/thunar/thunar-thumbnail-cache.c
+++ b/thunar/thunar-thumbnail-cache.c
@@ -162,7 +162,7 @@ thunar_thumbnail_cache_copy_async_reply (ThunarThumbnailCacheDBus *proxy,
{
GList *li;
ThunarFile *file;
- GError *error;
+ GError *error = NULL;
_thunar_return_if_fail (THUNAR_IS_THUMBNAIL_CACHE_DBUS (proxy));
@@ -196,7 +196,7 @@ thunar_thumbnail_cache_move_async_reply (ThunarThumbnailCacheDBus *proxy,
{
GList *li;
ThunarFile *file;
- GError *error;
+ GError *error = NULL;
_thunar_return_if_fail (THUNAR_IS_THUMBNAIL_CACHE_DBUS (proxy));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list