[glib] Whitespace fixes
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Whitespace fixes
- Date: Wed, 18 May 2011 21:56:05 +0000 (UTC)
commit 9793919d7b6a1469f1d7b43a500cd4ec99234621
Author: Ryan Lortie <desrt desrt ca>
Date: Wed May 18 17:56:50 2011 -0400
Whitespace fixes
gio/gapplication.c | 10 +++++-----
gio/gapplicationcommandline.c | 4 ++--
gio/gapplicationimpl-dbus.c | 2 +-
gio/gsettings-tool.c | 18 +++++++++---------
4 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index 2f83157..42e465f 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -263,7 +263,7 @@ g_application_real_command_line (GApplication *application,
{
static gboolean warned;
- if (warned)
+ if (warned)
return 1;
g_warning ("Your application claims to support custom command line "
@@ -566,7 +566,7 @@ g_application_class_init (GApplicationClass *class)
g_param_spec_object ("action-group",
P_("Action group"),
P_("The group of actions that the application exports"),
- G_TYPE_ACTION_GROUP,
+ G_TYPE_ACTION_GROUP,
G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
/**
@@ -652,7 +652,7 @@ get_platform_data (GApplication *application)
{
GVariant *array;
gchar **envp;
-
+
envp = g_get_environ ();
array = g_variant_new_bytestring_array ((const gchar **) envp, -1);
g_strfreev (envp);
@@ -734,7 +734,7 @@ g_application_id_is_valid (const gchar *application_id)
return TRUE;
}
-
+
/* Public Constructor {{{1 */
/**
* g_application_new:
@@ -1039,7 +1039,7 @@ g_application_register (GApplication *application,
* Increases the use count of @application.
*
* Use this function to indicate that the application has a reason to
- * continue to run. For example, g_application_hold() is called by GTK+
+ * continue to run. For example, g_application_hold() is called by GTK+
* when a toplevel window is on the screen.
*
* To cancel the hold, call g_application_release().
diff --git a/gio/gapplicationcommandline.c b/gio/gapplicationcommandline.c
index 7e4d333..8d2fbc3 100644
--- a/gio/gapplicationcommandline.c
+++ b/gio/gapplicationcommandline.c
@@ -378,7 +378,7 @@ g_application_command_line_get_cwd (GApplicationCommandLine *cmdline)
*
* Returns: (array zero-terminated=1) (transfer none): the environment
* strings, or %NULL if they were not sent
- *
+ *
* Since: 2.28
**/
const gchar * const *
@@ -405,7 +405,7 @@ g_application_command_line_get_environ (GApplicationCommandLine *cmdline)
* long as @cmdline exists.
*
* Returns: the value of the variable, or %NULL if unset or unsent
- *
+ *
* Since: 2.28
**/
const gchar *
diff --git a/gio/gapplicationimpl-dbus.c b/gio/gapplicationimpl-dbus.c
index e285e12..fb6cf2b 100644
--- a/gio/gapplicationimpl-dbus.c
+++ b/gio/gapplicationimpl-dbus.c
@@ -537,7 +537,7 @@ g_application_impl_action_signal (GDBusConnection *connection,
g_variant_get (parameters, "(&sv)", &name, &state);
info = g_hash_table_lookup (impl->actions, name);
-
+
if (info && info->state &&
g_variant_is_of_type (state, g_variant_get_type (info->state)) &&
!g_variant_equal (state, info->state))
diff --git a/gio/gsettings-tool.c b/gio/gsettings-tool.c
index ded0d6b..5a8ab4d 100644
--- a/gio/gsettings-tool.c
+++ b/gio/gsettings-tool.c
@@ -374,33 +374,33 @@ reset_all_keys (GSettings *settings)
static void
gsettings_reset_recursively (GSettings *settings,
- const gchar *key,
- const gchar *value)
+ const gchar *key,
+ const gchar *value)
{
gchar **children;
gint i;
g_settings_delay (settings);
-
+
reset_all_keys (settings);
children = g_settings_list_children (settings);
for (i = 0; children[i]; i++)
{
GSettings *child;
gchar *schema;
-
+
child = g_settings_get_child (settings, children[i]);
g_object_get (child, "schema", &schema, NULL);
-
+
if (is_schema (schema))
- reset_all_keys (child);
-
+ reset_all_keys (child);
+
g_object_unref (child);
g_free (schema);
}
-
+
g_strfreev (children);
-
+
g_settings_apply (settings);
g_settings_sync ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]