[easytag/wip/core-refactoring] Use et_str_empty() in et_browser_select_dir()
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/core-refactoring] Use et_str_empty() in et_browser_select_dir()
- Date: Thu, 31 Dec 2015 22:27:29 +0000 (UTC)
commit 9e7cac26d11f0eab8971ba574b6549629d05e566
Author: David King <amigadave amigadave com>
Date: Thu Dec 31 17:37:31 2015 +0000
Use et_str_empty() in et_browser_select_dir()
src/browser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/browser.c b/src/browser.c
index 23c59a2..21a466b 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -1024,7 +1024,7 @@ et_browser_select_dir (EtBrowser *self, const gchar *current_path)
g_return_if_fail (priv->directory_view != NULL);
/* Load current_path */
- if(!current_path || !*current_path)
+ if (et_str_empty (current_path))
{
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]