diff options
author | Allen Winter <allen.winter@kdab.com> | 2021-02-06 08:53:35 -0500 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2021-02-06 08:53:35 -0500 |
commit | ced840fb01e45488885b3c8cb6a502f24e6bf990 (patch) | |
tree | 4a88951fef74e281696fb63f46c841bef7b05281 /src/libical-glib | |
parent | 9c2e79a867b2d5288b494699d1d4256301f98ad2 (diff) | |
download | libical-git-ced840fb01e45488885b3c8cb6a502f24e6bf990.tar.gz |
minor coding style fixes
Diffstat (limited to 'src/libical-glib')
-rw-r--r-- | src/libical-glib/i-cal-object.c.in | 10 | ||||
-rw-r--r-- | src/libical-glib/i-cal-object.h.in | 2 | ||||
-rw-r--r-- | src/libical-glib/tools/generator.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/libical-glib/i-cal-object.c.in b/src/libical-glib/i-cal-object.c.in index 558707a4..11ec68cf 100644 --- a/src/libical-glib/i-cal-object.c.in +++ b/src/libical-glib/i-cal-object.c.in @@ -192,10 +192,10 @@ static void i_cal_object_finalize(GObject *object) if (!priv->owner && !priv->is_global_memory && priv->native && priv->native_destroy_func) { - g_clear_pointer (&priv->native, priv->native_destroy_func); + g_clear_pointer(&priv->native, priv->native_destroy_func); } - g_clear_object (&priv->owner); + g_clear_object(&priv->owner); g_slist_free_full(priv->dependers, g_object_unref); @@ -426,7 +426,7 @@ gpointer i_cal_object_steal_native(ICalObject *iobject) LOCK_PROPS(priv); - native = g_steal_pointer (&priv->native); + native = g_steal_pointer(&priv->native); UNLOCK_PROPS(priv); @@ -541,7 +541,7 @@ void i_cal_object_set_owner(ICalObject *iobject, GObject *owner) return; } - g_set_object (&priv->owner, owner); + g_set_object(&priv->owner, owner); UNLOCK_PROPS(priv); @@ -595,7 +595,7 @@ void i_cal_object_remove_owner(ICalObject *iobject) LOCK_PROPS(priv); - g_clear_object (&priv->owner); + g_clear_object(&priv->owner); UNLOCK_PROPS(priv); } diff --git a/src/libical-glib/i-cal-object.h.in b/src/libical-glib/i-cal-object.h.in index 0da2b2e7..799e3112 100644 --- a/src/libical-glib/i-cal-object.h.in +++ b/src/libical-glib/i-cal-object.h.in @@ -30,7 +30,7 @@ #define I_CAL_TYPE_OBJECT \ (i_cal_object_get_type ()) LIBICAL_ICAL_EXPORT -G_DECLARE_DERIVABLE_TYPE (ICalObject, i_cal_object, I_CAL, OBJECT, GObject) +G_DECLARE_DERIVABLE_TYPE(ICalObject, i_cal_object, I_CAL, OBJECT, GObject) G_BEGIN_DECLS /** diff --git a/src/libical-glib/tools/generator.c b/src/libical-glib/tools/generator.c index 65014dd5..609c9297 100644 --- a/src/libical-glib/tools/generator.c +++ b/src/libical-glib/tools/generator.c @@ -2061,8 +2061,8 @@ gchar *get_source_run_time_checkers(Method *method, const gchar *namespace) nameSpaceUpperSnake = get_upper_snake_from_upper_camel(namespace); nameUpperSnake = get_upper_snake_from_upper_camel(trueType + i); typeCheck = - g_strconcat(nameSpaceUpperSnake, "_IS_", nameUpperSnake, " ((", trueType, "*)", parameter->name, - ")", NULL); + g_strconcat(nameSpaceUpperSnake, "_IS_", nameUpperSnake, " ((", trueType, "*)", + parameter->name, ")", NULL); defaultValue = NULL; if (method->ret != NULL) { retTrueType = get_true_type(method->ret->type); |