dbus_g_proxy_call

Colin Walters walters at verbum.org
Wed May 13 07:01:16 PDT 2009


On Wed, May 13, 2009 at 9:49 AM, pete-c <pcwhizzkid at hotmail.com> wrote:
>
> extern gboolean
> peter_test_test_method(PeterTest *self, gchar **res, GError **err)
> {
>   gchar *str = "hello\0";
>   res = &str;

This should be:

gchar *str = "hello";
*res = g_strdup (str);


More information about the dbus mailing list