summaryrefslogtreecommitdiff
path: root/capplets/time-admin
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:23:33 +0200
committerraveit65 <[email protected]>2021-11-20 21:45:51 +0100
commit17ccb4f4bd610252e4ea600546750ddcc09c855a (patch)
treee1cc1783e0d46cb80c52d2a40b748925141f25ee /capplets/time-admin
parent9d702031671fa8aa4cdf6ea512b3f59b8ea3da37 (diff)
downloadmate-control-center-17ccb4f4bd610252e4ea600546750ddcc09c855a.tar.bz2
mate-control-center-17ccb4f4bd610252e4ea600546750ddcc09c855a.tar.xz
Use a blank line at most
Diffstat (limited to 'capplets/time-admin')
-rw-r--r--capplets/time-admin/src/time-map.c4
-rw-r--r--capplets/time-admin/src/time-zone.c1
2 files changed, 0 insertions, 5 deletions
diff --git a/capplets/time-admin/src/time-map.c b/capplets/time-admin/src/time-map.c
index d297b54c..8becefa4 100644
--- a/capplets/time-admin/src/time-map.c
+++ b/capplets/time-admin/src/time-map.c
@@ -249,7 +249,6 @@ convert_latitude_to_y (gdouble latitude, gdouble map_height)
return y;
}
-
static void
draw_text_bubble (cairo_t *cr,
GtkWidget *widget,
@@ -465,7 +464,6 @@ button_press_event (TimezoneMap *map,
x = event->x;
y = event->y;
-
rowstride = map->visible_map_rowstride;
pixels = map->visible_map_pixels;
@@ -474,7 +472,6 @@ button_press_event (TimezoneMap *map,
b = pixels[(rowstride * y + x * 4) + 2];
a = pixels[(rowstride * y + x * 4) + 3];
-
for (i = 0; color_codes[i].offset != -100; i++)
{
if (color_codes[i].red == r && color_codes[i].green == g
@@ -534,7 +531,6 @@ timezone_map_class_init (TimezoneMapClass *klass)
widget_class->draw = cc_timezone_map_draw;
widget_class->state_flags_changed = cc_timezone_map_state_flags_changed;
-
signals[LOCATION_CHANGED] = g_signal_new ("location-changed",
TYPE_TIMEZONE_MAP,
G_SIGNAL_RUN_FIRST,
diff --git a/capplets/time-admin/src/time-zone.c b/capplets/time-admin/src/time-zone.c
index e6168535..4e96c558 100644
--- a/capplets/time-admin/src/time-zone.c
+++ b/capplets/time-admin/src/time-zone.c
@@ -507,7 +507,6 @@ void SetupTimezoneDialog(TimeAdmin *ta)
Vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_style_context_add_class (gtk_widget_get_style_context (Vbox), "linked");
-
TimeZoneFrame = CreateZoneFrame(ta);
Scrolled = CreateZoneScrolled(ta);
gtk_container_add (GTK_CONTAINER (TimeZoneFrame), Scrolled);