[calls] in-app-notification: Codestyle



commit fd6fcbc3c0ccb9a74c14f645fc1a930aee0b0a62
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Wed Dec 15 13:19:20 2021 +0100

    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 018ccf02..411f1d5b 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;
+  }
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]