[easytag/wip/core-refactoring: 5/8] 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: 5/8] Use et_str_empty() in et_browser_select_dir()
- Date: Fri, 1 Jan 2016 11:01:15 +0000 (UTC)
commit 198791d2753f702c29ab7c66ab8fa5c82ff56fe2
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 356d994..f65dbf7 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]