Skip to content

Commit

Permalink
Fix crashes on operations using dbus calls
Browse files Browse the repository at this point in the history
- GError needs to be initialized to NULL before being sent to gdbus
- Introduced by the dbus-glib -> GDBus migration
- Thanks to Eric
  • Loading branch information
Skunnyk committed May 1, 2017
1 parent 56136b7 commit e2dfd9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thunar/thunar-thumbnail-cache.c
Expand Up @@ -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));

Expand Down Expand Up @@ -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));

Expand Down

0 comments on commit e2dfd9d

Please sign in to comment.