in-app-notification: Codestyle

This commit is contained in:
Evangelos Ribeiro Tzaras
2021-12-15 13:19:20 +01:00
parent 73cf5081d0
commit fd6fcbc3c0

View File

@@ -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;
}
}