Mercurial > geeqie.yaz
comparison src/pan-view.c @ 725:eda074e91ddd
Use G_DIR_SEPARATOR_S where applicable.
author | zas_ |
---|---|
date | Wed, 21 May 2008 11:00:13 +0000 |
parents | 8268cbe682f1 |
children | a1dcef8cd1ae |
comparison
equal
deleted
inserted
replaced
724:9973edfd86f6 | 725:eda074e91ddd |
---|---|
1160 | 1160 |
1161 static void pan_layout_set_path(PanWindow *pw, const gchar *path) | 1161 static void pan_layout_set_path(PanWindow *pw, const gchar *path) |
1162 { | 1162 { |
1163 if (!path) return; | 1163 if (!path) return; |
1164 | 1164 |
1165 if (strcmp(path, "/") == 0) | 1165 if (strcmp(path, G_DIR_SEPARATOR_S) == 0) |
1166 { | 1166 { |
1167 pan_warning_folder(path, pw->window); | 1167 pan_warning_folder(path, pw->window); |
1168 return; | 1168 return; |
1169 } | 1169 } |
1170 | 1170 |
2568 GtkWidget *group; | 2568 GtkWidget *group; |
2569 GtkWidget *button; | 2569 GtkWidget *button; |
2570 GtkWidget *ct_button; | 2570 GtkWidget *ct_button; |
2571 gint hide_dlg; | 2571 gint hide_dlg; |
2572 | 2572 |
2573 if (path && strcmp(path, "/") == 0) | 2573 if (path && strcmp(path, G_DIR_SEPARATOR_S) == 0) |
2574 { | 2574 { |
2575 pan_warning_folder(path, NULL); | 2575 pan_warning_folder(path, NULL); |
2576 return TRUE; | 2576 return TRUE; |
2577 } | 2577 } |
2578 | 2578 |