1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-14 00:17:35 +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 static void
calls_in_app_notification_get_property (GObject *object, calls_in_app_notification_get_property (GObject *object,
guint property_id, guint property_id,
GValue *value, GValue *value,
GParamSpec *pspec) GParamSpec *pspec)
{ {
CallsInAppNotification *self = CALLS_IN_APP_NOTIFICATION (object); CallsInAppNotification *self = CALLS_IN_APP_NOTIFICATION (object);
@ -77,22 +77,21 @@ calls_in_app_notification_get_property (GObject *object,
static void static void
calls_in_app_notification_set_property (GObject *object, calls_in_app_notification_set_property (GObject *object,
guint property_id, guint property_id,
const GValue *value, const GValue *value,
GParamSpec *pspec) GParamSpec *pspec)
{ {
CallsInAppNotification *self = CALLS_IN_APP_NOTIFICATION (object); CallsInAppNotification *self = CALLS_IN_APP_NOTIFICATION (object);
switch (property_id) switch (property_id) {
{ case PROP_TIMEOUT:
case PROP_TIMEOUT: self->timeout = g_value_get_int (value);
self->timeout = g_value_get_int (value); break;
break;
default: default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
break; break;
} }
} }