SF.net SVN: geany:[2836] branches/custom-tab-width/src/prefs.c

ntrel at users.sourceforge.net ntrel at xxxxx
Tue Jul 29 17:54:53 UTC 2008


Revision: 2836
          http://geany.svn.sourceforge.net/geany/?rev=2836&view=rev
Author:   ntrel
Date:     2008-07-29 17:54:52 +0000 (Tue, 29 Jul 2008)

Log Message:
-----------
Rename *_items_foreach() *_prefs_foreach().

Modified Paths:
--------------
    branches/custom-tab-width/src/prefs.c

Modified: branches/custom-tab-width/src/prefs.c
===================================================================
--- branches/custom-tab-width/src/prefs.c	2008-07-29 17:49:29 UTC (rev 2835)
+++ branches/custom-tab-width/src/prefs.c	2008-07-29 17:54:52 UTC (rev 2836)
@@ -105,7 +105,7 @@
 PrefEntry;
 
 
-static void toggle_items_foreach(PrefCallbackAction action)
+static void toggle_prefs_foreach(PrefCallbackAction action)
 {
 	guint i;
 	PrefEntry items[] =
@@ -138,7 +138,7 @@
 }
 
 
-static void spin_items_foreach(PrefCallbackAction action)
+static void spin_prefs_foreach(PrefCallbackAction action)
 {
 	guint i;
 	PrefEntry items[] =
@@ -166,7 +166,7 @@
 }
 
 
-static void radio_items_foreach(PrefCallbackAction action)
+static void radio_prefs_foreach(PrefCallbackAction action)
 {
 	guint i;
 	/* Only add one widget per radio-group; the setting is the index of the selected radio item
@@ -195,7 +195,7 @@
 }
 
 
-static void combo_items_foreach(PrefCallbackAction action)
+static void combo_prefs_foreach(PrefCallbackAction action)
 {
 	guint i;
 	PrefEntry items[] =
@@ -227,10 +227,10 @@
 /* List of functions which hold the PrefEntry arrays. These allow access to
  * runtime setting fields like EditorPrefs::indentation->width. */
 PrefItemsCallback pref_item_callbacks[] = {
-	toggle_items_foreach,
-	spin_items_foreach,
-	radio_items_foreach,
-	combo_items_foreach
+	toggle_prefs_foreach,
+	spin_prefs_foreach,
+	radio_prefs_foreach,
+	combo_prefs_foreach
 };
 
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list