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:
parent
73cf5081d0
commit
fd6fcbc3c0
1 changed files with 14 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue