Commit e74429f8 authored by Jussi Kukkonen's avatar Jussi Kukkonen

Try fixing the address signal once again...

parent 1efb7a14
......@@ -45,7 +45,7 @@ gc_iface_address_base_init (gpointer klass)
geoclue_marshal_VOID__INT_POINTER_BOXED,
G_TYPE_NONE, 3,
G_TYPE_INT,
dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_STRING),
DBUS_TYPE_G_STRING_STRING_HASHTABLE,
GEOCLUE_ACCURACY_TYPE);
dbus_g_object_type_install_info (gc_iface_address_get_type (),
&dbus_glib_gc_iface_address_object_info);
......
......@@ -54,12 +54,12 @@ dispose (GObject *object)
static void
address_changed (DBusGProxy *proxy,
int timestamp,
GPtrArray *details,
GPtrArray *accuracy,
GHashTable *details,
GeoclueAccuracy *accuracy,
GeoclueAddress *address)
{
g_signal_emit (address, signals[ADDRESS_CHANGED], 0,
timestamp, address, accuracy);
timestamp, details, accuracy);
}
static GObject *
......@@ -76,7 +76,7 @@ constructor (GType type,
dbus_g_proxy_add_signal (provider->proxy, "AddressChanged",
G_TYPE_INT,
dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_STRING),
DBUS_TYPE_G_STRING_STRING_HASHTABLE,
GEOCLUE_ACCURACY_TYPE,
G_TYPE_INVALID);
dbus_g_proxy_connect_signal (provider->proxy, "AddressChanged",
......
......@@ -58,7 +58,7 @@ position_changed (DBusGProxy *proxy,
double latitude,
double longitude,
double altitude,
GValueArray *accuracy,
GeoclueAccuracy *accuracy,
GeocluePosition *position)
{
g_signal_emit (position, signals[POSITION_CHANGED], 0, fields,
......
......@@ -494,8 +494,8 @@ gc_master_provider_class_init (GcMasterProviderClass *klass)
geoclue_marshal_VOID__INT_BOXED_BOXED,
G_TYPE_NONE, 3,
G_TYPE_INT,
dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_STRING),
dbus_g_type_get_collection ("GPtrArray", GEOCLUE_ACCURACY_TYPE));
G_TYPE_POINTER,
G_TYPE_POINTER);
}
static void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment