diff options
author | Dan Williams <dcbw@redhat.com> | 2010-01-31 11:57:05 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-01-31 11:57:05 -0800 |
commit | 42a20ab1872ad8b570ddf97a920d83bc63defd9e (patch) | |
tree | ec2726dc5cda84a9dbc910adad0b3551a84b0ee0 | |
parent | 1561436788fc26b82f803ca818ec025253ca9d63 (diff) |
core: whitespace fixup
-rw-r--r-- | src/mm-modem-base.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/mm-modem-base.c b/src/mm-modem-base.c index af4f832f..44f4b0ec 100644 --- a/src/mm-modem-base.c +++ b/src/mm-modem-base.c @@ -172,22 +172,23 @@ mm_modem_base_get_valid (MMModemBase *self) void mm_modem_base_set_unlock_required (MMModemBase *self, const char *unlock_required) { - MMModemBasePrivate *priv; + MMModemBasePrivate *priv; - g_return_if_fail (self != NULL); - g_return_if_fail (MM_IS_MODEM_BASE (self)); + g_return_if_fail (self != NULL); + g_return_if_fail (MM_IS_MODEM_BASE (self)); - priv = MM_MODEM_BASE_GET_PRIVATE (self); + priv = MM_MODEM_BASE_GET_PRIVATE (self); - /* Only do something if the value changes */ - if (priv->unlock_required == unlock_required - || (priv->unlock_required && unlock_required - && !strcmp(priv->unlock_required, unlock_required))) - return; + /* Only do something if the value changes */ + if ( (priv->unlock_required == unlock_required) + || ( priv->unlock_required + && unlock_required + && !strcmp (priv->unlock_required, unlock_required))) + return; - g_free (priv->unlock_required); - priv->unlock_required = g_strdup (unlock_required); - g_object_notify (G_OBJECT (self), MM_MODEM_UNLOCK_REQUIRED); + g_free (priv->unlock_required); + priv->unlock_required = g_strdup (unlock_required); + g_object_notify (G_OBJECT (self), MM_MODEM_UNLOCK_REQUIRED); } /*****************************************************************************/ |