[gnome-panel/wip/applets/clock: 12/15] clock: reformat ClockLocationTile
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip/applets/clock: 12/15] clock: reformat ClockLocationTile
- Date: Tue, 11 Nov 2014 11:38:03 +0000 (UTC)
commit 552036c3eef59737197655755c88149c353fe0fe
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Nov 10 05:55:44 2014 +0200
clock: reformat ClockLocationTile
applets/clock/clock-location-tile.c | 40 +++++++++++++++++-----------------
1 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c
index 24ec1dc..f2d8b04 100644
--- a/applets/clock/clock-location-tile.c
+++ b/applets/clock/clock-location-tile.c
@@ -39,18 +39,18 @@
struct _ClockLocationTilePrivate
{
- ClockLocation *location;
- ClockTime *time;
+ ClockLocation *location;
+ ClockTime *time;
- gulong weather_updated_id;
- gulong clock_format_id;
+ gulong weather_updated_id;
+ gulong clock_format_id;
- GtkWidget *time_label;
+ GtkWidget *time_label;
- GtkWidget *button_label;
- GtkWidget *button;
- GtkWidget *marker;
- GtkWidget *spacer;
+ GtkWidget *button_label;
+ GtkWidget *button;
+ GtkWidget *marker;
+ GtkWidget *spacer;
};
G_DEFINE_TYPE_WITH_PRIVATE (ClockLocationTile,
@@ -261,18 +261,18 @@ clock_location_tile_get_title (ClockLocation *location)
static gchar *
format_time (ClockLocationTile *tile)
{
- GDateTime *time;
- GDateTime *time_local;
- const gchar *tzname;
- glong offset;
- gint day_of_week;
- gint day_of_week_local;
+ GDateTime *time;
+ GDateTime *time_local;
+ const gchar *tzname;
+ glong offset;
+ gint day_of_week;
+ gint day_of_week_local;
GDesktopClockFormat clock_format;
- const gchar *format;
- gchar *buf;
- glong hours;
- glong minutes;
- gchar *tmp;
+ const gchar *format;
+ gchar *buf;
+ glong hours;
+ glong minutes;
+ gchar *tmp;
time = clock_location_localtime (tile->priv->location);
time_local = g_date_time_new_now_local ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]