[gnome-panel] clock: Rename a variable



commit 993dcc505e144cb598b527d002d6bf6ea52fe2b8
Author: Vincent Untz <vuntz gnome org>
Date:   Mon May 23 23:53:00 2011 +0200

    clock: Rename a variable

 applets/clock/set-timezone.c |    4 ++--
 applets/clock/set-timezone.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/applets/clock/set-timezone.c b/applets/clock/set-timezone.c
index 97f593e..f4064bf 100644
--- a/applets/clock/set-timezone.c
+++ b/applets/clock/set-timezone.c
@@ -154,7 +154,7 @@ set_system_timezone_finish (GAsyncResult  *result,
 }
 
 void
-set_system_timezone_async (const gchar         *filename,
+set_system_timezone_async (const gchar         *tz,
                            GAsyncReadyCallback  callback,
                            gpointer             user_data)
 {
@@ -177,7 +177,7 @@ set_system_timezone_async (const gchar         *filename,
 
   g_dbus_connection_call (system_bus, MECHANISM_BUS_NAME,
                           MECHANISM_OBJECT_PATH, MECHANISM_INTERFACE,
-                          "SetTimezone", g_variant_new ("(s)", filename),
+                          "SetTimezone", g_variant_new ("(s)", tz),
                           NULL, G_DBUS_CALL_FLAGS_NONE, -1, NULL,
                           callback, user_data);
 }
diff --git a/applets/clock/set-timezone.h b/applets/clock/set-timezone.h
index 75008f0..fcb7a24 100644
--- a/applets/clock/set-timezone.h
+++ b/applets/clock/set-timezone.h
@@ -27,7 +27,7 @@ gint     can_set_system_timezone (void);
 
 gint     can_set_system_time     (void);
 
-void     set_system_timezone_async   (const gchar          *filename,
+void     set_system_timezone_async   (const gchar          *tz,
                                       GAsyncReadyCallback   callback,
                                       gpointer              user_data);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]