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
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue