From fd6fcbc3c0ccb9a74c14f645fc1a930aee0b0a62 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Wed, 15 Dec 2021 13:19:20 +0100 Subject: [PATCH] in-app-notification: Codestyle --- src/calls-in-app-notification.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/src/calls-in-app-notification.c b/src/calls-in-app-notification.c index 018ccf0..411f1d5 100644 --- a/src/calls-in-app-notification.c +++ b/src/calls-in-app-notification.c @@ -57,9 +57,9 @@ timeout_cb (CallsInAppNotification *self) static void calls_in_app_notification_get_property (GObject *object, - guint property_id, - GValue *value, - GParamSpec *pspec) + guint property_id, + GValue *value, + GParamSpec *pspec) { CallsInAppNotification *self = CALLS_IN_APP_NOTIFICATION (object); @@ -77,22 +77,21 @@ calls_in_app_notification_get_property (GObject *object, static void calls_in_app_notification_set_property (GObject *object, - guint property_id, - const GValue *value, - GParamSpec *pspec) + guint property_id, + const GValue *value, + GParamSpec *pspec) { CallsInAppNotification *self = CALLS_IN_APP_NOTIFICATION (object); - switch (property_id) - { - case PROP_TIMEOUT: - self->timeout = g_value_get_int (value); - break; + switch (property_id) { + case PROP_TIMEOUT: + self->timeout = g_value_get_int (value); + break; - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - break; - } + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + break; + } }