Remove IVERSION
This commit is contained in:
parent
461d3e4453
commit
c114e96525
|
@ -1,3 +1,8 @@
|
||||||
|
2006-07-04 Jesse van den Kieboom <jesse@icecrew.nl>
|
||||||
|
* configure.ac:
|
||||||
|
* gnoemoe/mcp/gm-mcp-vmoo-client.c:
|
||||||
|
remove IVERSION
|
||||||
|
|
||||||
2006-07-04 Jesse van den Kieboom <jesse@icecrew.nl>
|
2006-07-04 Jesse van den Kieboom <jesse@icecrew.nl>
|
||||||
* ui/gm-world-properties.glade: added logging
|
* ui/gm-world-properties.glade: added logging
|
||||||
* ui/gm-preferences.glade: added userlist
|
* ui/gm-preferences.glade: added userlist
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_PREREQ(2.59)
|
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_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_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
|
||||||
|
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include "gm-mcp-session.h"
|
#include "gm-mcp-session.h"
|
||||||
#include "widgets/gm-world-view.h"
|
#include "widgets/gm-world-view.h"
|
||||||
#include "widgets/gm-world-text-view.h"
|
#include "widgets/gm-world-text-view.h"
|
||||||
|
#include "gm-string.h"
|
||||||
|
|
||||||
#define GM_MCP_VMOO_CLIENT_GET_PRIVATE(object)( \
|
#define GM_MCP_VMOO_CLIENT_GET_PRIVATE(object)( \
|
||||||
G_TYPE_INSTANCE_GET_PRIVATE((object), \
|
G_TYPE_INSTANCE_GET_PRIVATE((object), \
|
||||||
|
@ -96,12 +97,17 @@ void
|
||||||
gm_mcp_vmoo_client_set_session(GmMcpPackage *package, GObject *session) {
|
gm_mcp_vmoo_client_set_session(GmMcpPackage *package, GObject *session) {
|
||||||
GmMcpPackageClass *parent_class = g_type_class_peek_parent(
|
GmMcpPackageClass *parent_class = g_type_class_peek_parent(
|
||||||
GM_MCP_VMOO_CLIENT_GET_CLASS(package));
|
GM_MCP_VMOO_CLIENT_GET_CLASS(package));
|
||||||
|
gchar *iversion;
|
||||||
|
|
||||||
parent_class->set_session(package, session);
|
parent_class->set_session(package, session);
|
||||||
|
iversion = gm_string_remove_char(g_strdup(VERSION), '.');
|
||||||
|
|
||||||
gm_mcp_session_send_simple(GM_MCP_SESSION(session),
|
gm_mcp_session_send_simple(GM_MCP_SESSION(session),
|
||||||
"dns-com-vmoo-client-info", "name", "GnoeMoe",
|
"dns-com-vmoo-client-info", "name", "GnoeMoe",
|
||||||
"text-version", VERSION, "internal-version", IVERSION,
|
"text-version", VERSION, "internal-version", iversion,
|
||||||
"reg-id", "0", "flags", "", NULL);
|
"reg-id", "0", "flags", "", NULL);
|
||||||
|
|
||||||
|
g_free(iversion);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* GmMcpVmooClientView */
|
/* GmMcpVmooClientView */
|
||||||
|
|
Reference in New Issue