Revision: 3415 http://geany.svn.sourceforge.net/geany/?rev=3415&view=rev Author: ntrel Date: 2008-12-22 12:50:19 +0000 (Mon, 22 Dec 2008)
Log Message: ----------- Rename stash_group_load() -> stash_group_load_from_key_file(). Rename stash_group_save() -> stash_group_save_to_key_file().
Modified Paths: -------------- trunk/ChangeLog trunk/src/keyfile.c trunk/src/stash.c trunk/src/stash.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-12-21 20:31:09 UTC (rev 3414) +++ trunk/ChangeLog 2008-12-22 12:50:19 UTC (rev 3415) @@ -1,3 +1,10 @@ +2008-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/stash.c, src/stash.h, src/keyfile.c: + Rename stash_group_load() -> stash_group_load_from_key_file(). + Rename stash_group_save() -> stash_group_save_to_key_file(). + + 2008-12-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/global.tags:
Modified: trunk/src/keyfile.c =================================================================== --- trunk/src/keyfile.c 2008-12-21 20:31:09 UTC (rev 3414) +++ trunk/src/keyfile.c 2008-12-22 12:50:19 UTC (rev 3415) @@ -180,9 +180,9 @@ switch (action) { case SETTING_READ: - stash_group_load(group, config); break; + stash_group_load_from_key_file(group, config); break; case SETTING_WRITE: - stash_group_save(group, config); break; + stash_group_save_to_key_file(group, config); break; } } }
Modified: trunk/src/stash.c =================================================================== --- trunk/src/stash.c 2008-12-21 20:31:09 UTC (rev 3414) +++ trunk/src/stash.c 2008-12-22 12:50:19 UTC (rev 3415) @@ -161,13 +161,13 @@ }
-void stash_group_load(GeanyPrefGroup *group, GKeyFile *keyfile) +void stash_group_load_from_key_file(GeanyPrefGroup *group, GKeyFile *keyfile) { keyfile_action(SETTING_READ, group, keyfile); }
-void stash_group_save(GeanyPrefGroup *group, GKeyFile *keyfile) +void stash_group_save_to_key_file(GeanyPrefGroup *group, GKeyFile *keyfile) { keyfile_action(SETTING_WRITE, group, keyfile); } @@ -240,6 +240,8 @@ }
+/* *** GTK-related functions *** */ + static void handle_toggle_button(GtkWidget *widget, gboolean *setting, PrefAction action) {
Modified: trunk/src/stash.h =================================================================== --- trunk/src/stash.h 2008-12-21 20:31:09 UTC (rev 3414) +++ trunk/src/stash.h 2008-12-22 12:50:19 UTC (rev 3415) @@ -50,9 +50,9 @@ const gchar *key_name, gint default_value, gpointer widget_id, gint enum_id, ...) G_GNUC_NULL_TERMINATED;
-void stash_group_load(GeanyPrefGroup *group, GKeyFile *keyfile); +void stash_group_load_from_key_file(GeanyPrefGroup *group, GKeyFile *keyfile);
-void stash_group_save(GeanyPrefGroup *group, GKeyFile *keyfile); +void stash_group_save_to_key_file(GeanyPrefGroup *group, GKeyFile *keyfile);
void stash_group_display(GeanyPrefGroup *group, GtkWidget *owner);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.