From c114e96525e44008a2ded48895607535607c19ca Mon Sep 17 00:00:00 2001 From: Jesse van den Kieboom Date: Fri, 7 Apr 2006 17:33:08 +0000 Subject: [PATCH] Remove IVERSION --- ChangeLog | 5 +++++ configure.ac | 4 +--- gnoemoe/mcp/gm-mcp-vmoo-client.c | 8 +++++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8537255..9fd2836 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-07-04 Jesse van den Kieboom + * configure.ac: + * gnoemoe/mcp/gm-mcp-vmoo-client.c: + remove IVERSION + 2006-07-04 Jesse van den Kieboom * ui/gm-world-properties.glade: added logging * ui/gm-preferences.glade: added userlist diff --git a/configure.ac b/configure.ac index 3610832..5a2ddc7 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,9 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(gnoemoe, 2.0.5, http://www.icecrew.nl/software/gnoemoe) +AC_INIT(gnoemoe, 2.0.6, http://www.icecrew.nl/software/gnoemoe) AC_CONFIG_SRCDIR(gnoemoe/gm-app.c) -AC_DEFINE_UNQUOTED(IVERSION, "205", "this is used for internal representation of the version") - AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AM_CONFIG_HEADER(config.h) diff --git a/gnoemoe/mcp/gm-mcp-vmoo-client.c b/gnoemoe/mcp/gm-mcp-vmoo-client.c index bfc5643..e6f9f39 100644 --- a/gnoemoe/mcp/gm-mcp-vmoo-client.c +++ b/gnoemoe/mcp/gm-mcp-vmoo-client.c @@ -4,6 +4,7 @@ #include "gm-mcp-session.h" #include "widgets/gm-world-view.h" #include "widgets/gm-world-text-view.h" +#include "gm-string.h" #define GM_MCP_VMOO_CLIENT_GET_PRIVATE(object)( \ G_TYPE_INSTANCE_GET_PRIVATE((object), \ @@ -96,12 +97,17 @@ void gm_mcp_vmoo_client_set_session(GmMcpPackage *package, GObject *session) { GmMcpPackageClass *parent_class = g_type_class_peek_parent( GM_MCP_VMOO_CLIENT_GET_CLASS(package)); + gchar *iversion; + parent_class->set_session(package, session); + iversion = gm_string_remove_char(g_strdup(VERSION), '.'); gm_mcp_session_send_simple(GM_MCP_SESSION(session), "dns-com-vmoo-client-info", "name", "GnoeMoe", - "text-version", VERSION, "internal-version", IVERSION, + "text-version", VERSION, "internal-version", iversion, "reg-id", "0", "flags", "", NULL); + + g_free(iversion); } /* GmMcpVmooClientView */