aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-event-manager.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-04 19:55:19 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-04 19:58:16 +0800
commit61de8fbbea5d8d096aafcaa8c2b8093d0f349c87 (patch)
treecbced2690629a9b0cf62f7a2285a414cb9bb4949 /src/empathy-event-manager.c
parentd3f2e5578d5ec8ad221c54f30e43909547ed9617 (diff)
downloadgsoc2013-empathy-61de8fbbea5d8d096aafcaa8c2b8093d0f349c87.tar
gsoc2013-empathy-61de8fbbea5d8d096aafcaa8c2b8093d0f349c87.tar.gz
gsoc2013-empathy-61de8fbbea5d8d096aafcaa8c2b8093d0f349c87.tar.bz2
gsoc2013-empathy-61de8fbbea5d8d096aafcaa8c2b8093d0f349c87.tar.lz
gsoc2013-empathy-61de8fbbea5d8d096aafcaa8c2b8093d0f349c87.tar.xz
gsoc2013-empathy-61de8fbbea5d8d096aafcaa8c2b8093d0f349c87.tar.zst
gsoc2013-empathy-61de8fbbea5d8d096aafcaa8c2b8093d0f349c87.zip
define EMPATHY_DISPATCHER_CURRENT_TIME rather than using G_MAXINT64 directly
Diffstat (limited to 'src/empathy-event-manager.c')
-rw-r--r--src/empathy-event-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index a7da44f5e..841883d06 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -230,7 +230,7 @@ event_channel_process_func (EventPriv *event)
{
gint64 timestamp = gtk_get_current_event_time ();
if (timestamp == GDK_CURRENT_TIME)
- timestamp = G_MAXINT64;
+ timestamp = EMPATHY_DISPATCHER_CURRENT_TIME;
empathy_dispatch_operation_set_user_action_time (event->approval->operation,
timestamp);
@@ -243,7 +243,7 @@ event_text_channel_process_func (EventPriv *event)
EmpathyTpChat *tp_chat;
gint64 timestamp = gtk_get_current_event_time ();
if (timestamp == GDK_CURRENT_TIME)
- timestamp = G_MAXINT64;
+ timestamp = EMPATHY_DISPATCHER_CURRENT_TIME;
empathy_dispatch_operation_set_user_action_time (event->approval->operation,
timestamp);
@@ -571,7 +571,7 @@ invite_dialog_response_cb (GtkDialog *dialog,
timestamp = gtk_get_current_event_time ();
if (timestamp == GDK_CURRENT_TIME)
- timestamp = G_MAXINT64;
+ timestamp = EMPATHY_DISPATCHER_CURRENT_TIME;
empathy_dispatch_operation_set_user_action_time (approval->operation,
timestamp);