1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00

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