SF.net SVN: geany-plugins:[1528] trunk/geany-plugins/updatechecker/src/ updatechecker.c
frlan at users.sourceforge.net
frlan at xxxxx
Mon Aug 23 09:04:54 UTC 2010
Revision: 1528
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1528&view=rev
Author: frlan
Date: 2010-08-23 09:04:54 +0000 (Mon, 23 Aug 2010)
Log Message:
-----------
Updatechecker: Rename a function
Modified Paths:
--------------
trunk/geany-plugins/updatechecker/src/updatechecker.c
Modified: trunk/geany-plugins/updatechecker/src/updatechecker.c
===================================================================
--- trunk/geany-plugins/updatechecker/src/updatechecker.c 2010-08-23 08:44:07 UTC (rev 1527)
+++ trunk/geany-plugins/updatechecker/src/updatechecker.c 2010-08-23 09:04:54 UTC (rev 1528)
@@ -147,7 +147,7 @@
/* Returns TRUE if the version installed is < as the version found
on the * server. All other cases a causes a FALSE. */
static gboolean
-version_compair(const gchar *current_version)
+version_compare(const gchar *current_version)
{
version_struct geany_running;
version_struct geany_current;
@@ -176,7 +176,7 @@
{
if (msg->status_code == 200)
{
- if (version_compair(msg->response_body->data) == TRUE)
+ if (version_compare(msg->response_body->data) == TRUE)
{
g_warning(_("There is a more recent version availble"));
dialogs_show_msgbox(GTK_MESSAGE_INFO,
@@ -202,7 +202,7 @@
/* Checking whether we did get a valid (200) result */
if (msg->status_code == 200)
{
- if (version_compair(msg->response_body->data) == TRUE)
+ if (version_compare(msg->response_body->data) == TRUE)
{
dialogs_show_msgbox(GTK_MESSAGE_INFO,
_("There is a more recent version availble"));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list