Mercurial > geeqie
changeset 728:5042236af960
Replace hardcoded "/" by G_DIR_SEPARATOR_S where applicable.
author | zas_ |
---|---|
date | Wed, 21 May 2008 11:46:19 +0000 |
parents | d897ff542ad9 |
children | 9a6a7e95467a |
files | src/main.h src/thumb_standard.h src/window.c |
diffstat | 3 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.h Wed May 21 11:45:29 2008 +0000 +++ b/src/main.h Wed May 21 11:46:19 2008 +0000 @@ -73,8 +73,8 @@ #define GQ_WMCLASS GQ_APPNAME_LC #define GQ_RC_DIR "." GQ_APPNAME_LC -#define GQ_RC_DIR_COLLECTIONS GQ_RC_DIR"/collections" -#define GQ_RC_DIR_TRASH GQ_RC_DIR"/trash" +#define GQ_RC_DIR_COLLECTIONS GQ_RC_DIR G_DIR_SEPARATOR_S "collections" +#define GQ_RC_DIR_TRASH GQ_RC_DIR G_DIR_SEPARATOR_S "trash" #define RC_FILE_NAME GQ_APPNAME_LC "rc"
--- a/src/thumb_standard.h Wed May 21 11:45:29 2008 +0000 +++ b/src/thumb_standard.h Wed May 21 11:46:19 2008 +0000 @@ -19,7 +19,7 @@ #define THUMB_FOLDER_LOCAL ".thumblocal" #define THUMB_FOLDER_NORMAL "normal" #define THUMB_FOLDER_LARGE "large" -#define THUMB_FOLDER_FAIL "fail/" GQ_APPNAME_LC "-" VERSION +#define THUMB_FOLDER_FAIL "fail" G_DIR_SEPARATOR_S GQ_APPNAME_LC "-" VERSION #define THUMB_NAME_EXTENSION ".png"
--- a/src/window.c Wed May 21 11:45:29 2008 +0000 +++ b/src/window.c Wed May 21 11:46:19 2008 +0000 @@ -189,7 +189,7 @@ return; } - help_browser_command(result, GQ_HTMLDIR "/index.html"); + help_browser_command(result, GQ_HTMLDIR G_DIR_SEPARATOR_S "index.html"); g_free(result); } @@ -223,7 +223,7 @@ } help_window = help_window_new(_("Help"), GQ_WMCLASS, "help", - GQ_HELPDIR "/README", key); + GQ_HELPDIR G_DIR_SEPARATOR_S "README", key); g_signal_connect(G_OBJECT(help_window), "destroy", G_CALLBACK(help_window_destroy_cb), NULL);