Fix build with 4.x.

Reported by:	Jimmie James <jimmiejaz@gmail.com>
This commit is contained in:
Adam Weinberger 2005-04-04 05:20:43 +00:00
parent ddcb90eae1
commit 72160f80db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132406

View File

@ -0,0 +1,12 @@
--- glib/dbus-gobject.c.orig Mon Apr 4 01:17:05 2005
+++ glib/dbus-gobject.c Mon Apr 4 01:17:17 2005
@@ -396,8 +396,8 @@ write_interface (gpointer key, gpointer
for (; methods; methods = methods->next)
{
DBusGMethodInfo *method;
- method = methods->data;
const char *args;
+ method = methods->data;
g_string_append_printf (xml, " <method name=\"%s\">\n",
method_name_from_object_info (object_info, method));