[Xfce4-commits] [xfce/thunar] 01/02: fixed Warning : ISO C90 forbids mixed declarations and code
noreply at xfce.org
noreply at xfce.org
Thu Jun 21 21:01:08 CEST 2018
This is an automated email from the git hooks/post-receive script.
a l e x 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 897f06efea7b177b471caa4698895e35ca06b4a1
Author: Alexander Schwinn <acs82 at gmx.de>
Date: Thu Jun 21 09:35:43 2018 +0200
fixed Warning : ISO C90 forbids mixed declarations and code
---
thunar/thunar-thumbnailer.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/thunar/thunar-thumbnailer.c b/thunar/thunar-thumbnailer.c
index 703a584..283dede 100644
--- a/thunar/thunar-thumbnailer.c
+++ b/thunar/thunar-thumbnailer.c
@@ -254,14 +254,16 @@ thunar_thumbnailer_queue_async_reply (GObject *proxy,
GAsyncResult *res,
gpointer user_data)
{
- _thunar_return_if_fail (THUNAR_IS_THUMBNAILER_DBUS (proxy));
- _thunar_return_if_fail (user_data != NULL);
-
ThunarThumbnailerJob *job = user_data;
- ThunarThumbnailer *thumbnailer = THUNAR_THUMBNAILER (job->thumbnailer);
+ ThunarThumbnailer *thumbnailer;
GError *error = NULL;
guint handle;
+ _thunar_return_if_fail (THUNAR_IS_THUMBNAILER_DBUS (proxy));
+ _thunar_return_if_fail (job != NULL);
+
+ thumbnailer = THUNAR_THUMBNAILER (job->thumbnailer);
+
_thunar_return_if_fail (THUNAR_IS_THUMBNAILER (thumbnailer));
_thumbnailer_lock (thumbnailer);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list