From 287e8353304d47581156dd1ac2f54e20351fe966 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Tue, 29 Jul 2008 17:54:52 +0000 Subject: [PATCH] Rename *_items_foreach() *_prefs_foreach(). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-tab-width@2836 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- src/prefs.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/prefs.c b/src/prefs.c index a7552b70..dc6544ab 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -105,7 +105,7 @@ typedef struct PrefEntry 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 toggle_items_foreach(PrefCallbackAction action) } -static void spin_items_foreach(PrefCallbackAction action) +static void spin_prefs_foreach(PrefCallbackAction action) { guint i; PrefEntry items[] = @@ -166,7 +166,7 @@ static void spin_items_foreach(PrefCallbackAction action) } -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 radio_items_foreach(PrefCallbackAction action) } -static void combo_items_foreach(PrefCallbackAction action) +static void combo_prefs_foreach(PrefCallbackAction action) { guint i; PrefEntry items[] = @@ -227,10 +227,10 @@ typedef void (*PrefItemsCallback)(PrefCallbackAction action); /* 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 };