GLib client bindings change in CVS
Ricardo Kekki
ricardo.kekki at movial.fi
Wed Jan 25 00:09:40 PST 2006
Would this be the proper way to use for the client side renaming?
Ricardo
-------------- next part --------------
--- cvs/dbus/glib/dbus-binding-tool-glib.h 2005-10-25 08:54:57.000000000 +0000
+++ dbus/glib/dbus-binding-tool-glib.h 2006-01-23 20:38:57.000000000 +0000
@@ -26,6 +26,7 @@
G_BEGIN_DECLS
#define DBUS_GLIB_ANNOTATION_C_SYMBOL "org.freedesktop.DBus.GLib.CSymbol"
+#define DBUS_GLIB_ANNOTATION_CLIENT_C_SYMBOL "org.freedesktop.DBus.GLib.ClientCSymbol"
#define DBUS_GLIB_ANNOTATION_ASYNC "org.freedesktop.DBus.GLib.Async"
#define DBUS_GLIB_ANNOTATION_CONST "org.freedesktop.DBus.GLib.Const"
#define DBUS_GLIB_ANNOTATION_RETURNVAL "org.freedesktop.DBus.GLib.ReturnVal"
--- cvs/dbus/glib/dbus-binding-tool-glib.c 2006-01-19 02:54:07.000000000 +0000
+++ dbus/glib/dbus-binding-tool-glib.c 2006-01-23 20:40:44.000000000 +0000
@@ -1334,13 +1334,13 @@
char *interface_c_name;
iface_prefix = iface_to_c_prefix (interface_info_get_name (interface));
- interface_c_name = interface_info_get_annotation (interface, DBUS_GLIB_ANNOTATION_C_SYMBOL);
+ interface_c_name = interface_info_get_annotation (interface, DBUS_GLIB_ANNOTATION_CLIENT_C_SYMBOL);
if (interface_c_name == NULL)
{
interface_c_name = iface_prefix;
}
- method_name = g_strdup (method_info_get_annotation (method, DBUS_GLIB_ANNOTATION_C_SYMBOL));
+ method_name = g_strdup (method_info_get_annotation (method, DBUS_GLIB_ANNOTATION_CLIENT_C_SYMBOL));
if (method_name == NULL)
{
char *method_name_uscored;
@@ -1469,7 +1469,7 @@
methods = interface_info_get_methods (interface);
iface_prefix = iface_to_c_prefix (interface_info_get_name (interface));
- interface_c_name = interface_info_get_annotation (interface, DBUS_GLIB_ANNOTATION_C_SYMBOL);
+ interface_c_name = interface_info_get_annotation (interface, DBUS_GLIB_ANNOTATION_CLIENT_C_SYMBOL);
if (interface_c_name == NULL)
{
interface_c_name = iface_prefix;
@@ -1492,7 +1492,7 @@
gboolean is_noreply;
method = (MethodInfo *) tmp->data;
- method_c_name = g_strdup (method_info_get_annotation (method, DBUS_GLIB_ANNOTATION_C_SYMBOL));
+ method_c_name = g_strdup (method_info_get_annotation (method, DBUS_GLIB_ANNOTATION_CLIENT_C_SYMBOL));
if (method_c_name == NULL)
{
char *method_name_uscored;
More information about the dbus
mailing list