[sysprof] battery: style cleanup
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] battery: style cleanup
- Date: Fri, 14 Jun 2019 02:37:41 +0000 (UTC)
commit 3299c0d41ccb016f868bc5aabbc9a5fd26abbbaa
Author: Christian Hergert <chergert redhat com>
Date: Thu Jun 13 19:37:33 2019 -0700
battery: style cleanup
src/libsysprof/sysprof-battery-source.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/libsysprof/sysprof-battery-source.c b/src/libsysprof/sysprof-battery-source.c
index 0b12a6e..92db482 100644
--- a/src/libsysprof/sysprof-battery-source.c
+++ b/src/libsysprof/sysprof-battery-source.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]