returning a string to d-bus
- From: Luka Napotnik <luka napotnik gmail com>
- To: gtk-app-devel-list gnome org
- Subject: returning a string to d-bus
- Date: Mon, 04 Aug 2008 16:14:11 +0200
Hello.
I have a D-BUS listener with a GObject method which should send a string
back to D-BUS. My d-bus listener method is:
gboolean
some_object_get_name(GObject *object, gchar *str, GError **error)
{
str = g_strdup("Hello");
return TRUE;
}
But when the client connect to this d-bus interface and calls the
get_name() method, the method doesn't return the string. I'm guessing
I'm passing the string the wrong way. Please help.
Greets,
Luka
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]