[gnome-settings-daemon] datetime: Fix gsd_datetime_check_tz_name() never working
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] datetime: Fix gsd_datetime_check_tz_name() never working
- Date: Tue, 8 Feb 2011 23:13:01 +0000 (UTC)
commit f31f81108788118f371cc52665af482853880f32
Author: Bastien Nocera <hadess hadess net>
Date: Tue Feb 8 23:11:08 2011 +0000
datetime: Fix gsd_datetime_check_tz_name() never working
Wrong variable passed into g_file_new_for_path()...
https://bugzilla.redhat.com/show_bug.cgi?id=674999
plugins/datetime/gsd-datetime-mechanism.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/datetime/gsd-datetime-mechanism.c b/plugins/datetime/gsd-datetime-mechanism.c
index 89f1c66..4f34f0b 100644
--- a/plugins/datetime/gsd-datetime-mechanism.c
+++ b/plugins/datetime/gsd-datetime-mechanism.c
@@ -517,7 +517,7 @@ gsd_datetime_check_tz_name (const char *tz,
tz_path = g_build_filename (SYSTEM_ZONEINFODIR, tz, NULL);
/* Get the actual resolved path */
- file = g_file_new_for_path (tz);
+ file = g_file_new_for_path (tz_path);
actual_path = g_file_get_path (file);
g_object_unref (file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]