diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-04-19 23:28:52 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2010-04-25 02:44:09 +0800 |
commit | cdd773bdb91f860c502864bf9d40df45f935aa7c (patch) | |
tree | 38291c1f334f77e11508a74f42421186da64233e /libempathy/empathy-dispatcher.c | |
parent | 221c1186f4b34b585767ae5b6f8e705410bf60dc (diff) | |
download | gsoc2013-empathy-cdd773bdb91f860c502864bf9d40df45f935aa7c.tar gsoc2013-empathy-cdd773bdb91f860c502864bf9d40df45f935aa7c.tar.gz gsoc2013-empathy-cdd773bdb91f860c502864bf9d40df45f935aa7c.tar.bz2 gsoc2013-empathy-cdd773bdb91f860c502864bf9d40df45f935aa7c.tar.lz gsoc2013-empathy-cdd773bdb91f860c502864bf9d40df45f935aa7c.tar.xz gsoc2013-empathy-cdd773bdb91f860c502864bf9d40df45f935aa7c.tar.zst gsoc2013-empathy-cdd773bdb91f860c502864bf9d40df45f935aa7c.zip |
dispatch-operation: add user-action-time property
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r-- | libempathy/empathy-dispatcher.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 70c56b6ab..2141b0b15 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -573,7 +573,8 @@ dispatcher_connection_new_channel (EmpathyDispatcher *self, guint handle, GHashTable *properties, gboolean incoming, - const GPtrArray *requests_satisfied) + const GPtrArray *requests_satisfied, + gint64 timestamp) { EmpathyDispatcherPriv *priv = GET_PRIV (self); TpChannel *channel; @@ -630,7 +631,7 @@ dispatcher_connection_new_channel (EmpathyDispatcher *self, priv->channels = g_list_prepend (priv->channels, channel); operation = empathy_dispatch_operation_new (connection, channel, NULL, - incoming); + incoming, timestamp); g_object_unref (channel); @@ -691,7 +692,8 @@ dispatcher_connection_new_channel_with_properties ( TpConnection *connection, const gchar *object_path, GHashTable *properties, - const GPtrArray *requests_satisfied) + const GPtrArray *requests_satisfied, + gint64 timestamp) { const gchar *channel_type; guint handle_type; @@ -735,7 +737,7 @@ dispatcher_connection_new_channel_with_properties ( dispatcher_connection_new_channel (self, connection, object_path, channel_type, handle_type, handle, properties, !requested, - requests_satisfied); + requests_satisfied, timestamp); } static void @@ -2078,7 +2080,7 @@ empathy_dispatcher_handle_channels (EmpathyHandler *handler, properties = g_value_get_boxed (g_value_array_get_nth (arr, 1)); dispatcher_connection_new_channel_with_properties (self, - connection, object_path, properties, requests_satisfied); + connection, object_path, properties, requests_satisfied, timestamp); } return TRUE; |