[easytag/wip/core-refactoring: 14/17] 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: 14/17] Use et_str_empty() in et_browser_select_dir()
- Date: Fri, 8 Jan 2016 07:55:31 +0000 (UTC)
commit 4a041cb49f7388bca23e787bc0b092b12ef36743
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 909279e..298a581 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]