battery: style cleanup

This commit is contained in:
Christian Hergert
2019-06-13 19:37:33 -07:00
parent ebcc3f791f
commit 3299c0d41c

View File

@ -237,10 +237,9 @@ sysprof_battery_source_start (SysprofSource *source)
{
SysprofBatterySource *self = (SysprofBatterySource *)source;
self->poll_source = g_timeout_add_seconds (1, sysprof_battery_source_poll_cb, self);
g_assert (SYSPROF_IS_BATTERY_SOURCE (self));
self->poll_source = g_timeout_add_seconds (1, sysprof_battery_source_poll_cb, self);
}
static void