[Xfce4-commits] <xfce4-appfinder:master> Fix some indentation.

Nick Schermer noreply at xfce.org
Wed Dec 28 12:32:05 CET 2011


Updating branch refs/heads/master
         to a6b11e848dbbe61cbd280a83257e0ebd800fc85a (commit)
       from 50ec0c25d28ba896fb2f71835f207c52cd8f202b (commit)

commit a6b11e848dbbe61cbd280a83257e0ebd800fc85a
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Dec 28 11:59:02 2011 +0100

    Fix some indentation.

 src/appfinder-preferences.c |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/appfinder-preferences.c b/src/appfinder-preferences.c
index 03cfda1..39911f8 100644
--- a/src/appfinder-preferences.c
+++ b/src/appfinder-preferences.c
@@ -427,24 +427,24 @@ xfce_appfinder_preferences_action_populate (XfceAppfinderPreferences *preference
   if (G_LIKELY (array != NULL))
     {
       for (i = 0; i < array->len; i++)
-      {
-        value = g_ptr_array_index (array, i);
-        appfinder_assert (value != NULL);
-        unique_id = g_value_get_int (value);
+        {
+          value = g_ptr_array_index (array, i);
+          appfinder_assert (value != NULL);
+          unique_id = g_value_get_int (value);
 
-        g_snprintf (prop, sizeof (prop), "/actions/action-%d/pattern", unique_id);
-        pattern = xfconf_channel_get_string (preferences->channel, prop, NULL);
+          g_snprintf (prop, sizeof (prop), "/actions/action-%d/pattern", unique_id);
+          pattern = xfconf_channel_get_string (preferences->channel, prop, NULL);
 
-        gtk_list_store_insert_with_values (GTK_LIST_STORE (store), &iter, i,
-                                           COLUMN_UNIQUE_ID, unique_id,
-                                           COLUMN_PATTERN, pattern,
-                                           -1);
+          gtk_list_store_insert_with_values (GTK_LIST_STORE (store), &iter, i,
+                                             COLUMN_UNIQUE_ID, unique_id,
+                                             COLUMN_PATTERN, pattern,
+                                             -1);
 
-        if (restore_id == unique_id)
-          gtk_tree_selection_select_iter (preferences->selection, &iter);
+          if (restore_id == unique_id)
+            gtk_tree_selection_select_iter (preferences->selection, &iter);
 
-        g_free (pattern);
-      }
+          g_free (pattern);
+        }
 
       xfconf_array_free (array);
     }


More information about the Xfce4-commits mailing list