SF.net SVN: geany:[5274] trunk/src/editor.c

ntrel at users.sourceforge.net ntrel at xxxxx
Mon Oct 4 10:41:07 UTC 2010


Revision: 5274
          http://geany.svn.sourceforge.net/geany/?rev=5274&view=rev
Author:   ntrel
Date:     2010-10-04 10:41:06 +0000 (Mon, 04 Oct 2010)

Log Message:
-----------
Rename snippets_init -> snippets_load.

Modified Paths:
--------------
    trunk/src/editor.c

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2010-10-02 14:52:48 UTC (rev 5273)
+++ trunk/src/editor.c	2010-10-04 10:41:06 UTC (rev 5274)
@@ -125,7 +125,7 @@
 }
 
 
-static void snippets_init(GKeyFile *sysconfig, GKeyFile *userconfig)
+static void snippets_load(GKeyFile *sysconfig, GKeyFile *userconfig)
 {
 	gsize i, j, len = 0, len_keys = 0;
 	gchar **groups_user, **groups_sys;
@@ -279,7 +279,7 @@
 	g_key_file_load_from_file(sysconfig, sysconfigfile, G_KEY_FILE_NONE, NULL);
 	g_key_file_load_from_file(userconfig, userconfigfile, G_KEY_FILE_NONE, NULL);
 
-	snippets_init(sysconfig, userconfig);
+	snippets_load(sysconfig, userconfig);
 
 	/* setup snippet keybindings */
 	snippet_accel_group = gtk_accel_group_new();


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