[Xfce4-commits] [xfce/thunar] 01/01: fixed two compiler warnings
noreply at xfce.org
noreply at xfce.org
Wed Sep 26 23:34:54 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 f48d787a6840a0c0a0f205143cb084cce323531e
Author: Alexander Schwinn <alexxcons at xfce.org>
Date: Wed Sep 26 23:34:38 2018 +0200
fixed two compiler warnings
---
thunar/thunar-folder.c | 6 ++++--
thunar/thunar-shortcuts-view.c | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/thunar/thunar-folder.c b/thunar/thunar-folder.c
index d9fa1b4..7ca50b0 100644
--- a/thunar/thunar-folder.c
+++ b/thunar/thunar-folder.c
@@ -421,10 +421,12 @@ thunar_folder_files_ready (ThunarJob *job,
static gboolean
thunar_folder_content_type_loader_idle (gpointer data)
{
+ ThunarFolder *folder;
+ GList *lp;
+
_thunar_return_val_if_fail (THUNAR_IS_FOLDER (data), FALSE);
- ThunarFolder *folder = THUNAR_FOLDER (data);
- GList *lp;
+ folder = THUNAR_FOLDER (data);
/* load another files content type */
for (lp = folder->content_type_ptr; lp != NULL; lp = lp->next)
diff --git a/thunar/thunar-shortcuts-view.c b/thunar/thunar-shortcuts-view.c
index 10bb95e..5faabf9 100644
--- a/thunar/thunar-shortcuts-view.c
+++ b/thunar/thunar-shortcuts-view.c
@@ -2021,7 +2021,7 @@ thunar_shortcuts_view_mount (ThunarShortcutsView *view)
thunar_shortcuts_model_set_busy (THUNAR_SHORTCUTS_MODEL (child_model), device, TRUE);
thunar_browser_poke_device (THUNAR_BROWSER (view), device, view,
- thunar_shortcuts_view_poke_device_mount_finish,
+ (ThunarBrowserPokeDeviceFunc)thunar_shortcuts_view_poke_device_mount_finish,
NULL);
g_object_unref (device);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list