aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-12 17:55:50 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-12 18:05:12 +0800
commitf312b6f85b4128dffd08a5afc7797b7c204c7887 (patch)
treea04fce76f7d5bf4ca2fbc6040c5260f4231e0ef2 /libempathy-gtk/empathy-ui-utils.c
parentd1bc3524be5909a9287b12b309f2dd2e97fc5778 (diff)
downloadgsoc2013-empathy-f312b6f85b4128dffd08a5afc7797b7c204c7887.tar
gsoc2013-empathy-f312b6f85b4128dffd08a5afc7797b7c204c7887.tar.gz
gsoc2013-empathy-f312b6f85b4128dffd08a5afc7797b7c204c7887.tar.bz2
gsoc2013-empathy-f312b6f85b4128dffd08a5afc7797b7c204c7887.tar.lz
gsoc2013-empathy-f312b6f85b4128dffd08a5afc7797b7c204c7887.tar.xz
gsoc2013-empathy-f312b6f85b4128dffd08a5afc7797b7c204c7887.tar.zst
gsoc2013-empathy-f312b6f85b4128dffd08a5afc7797b7c204c7887.zip
add empathy_get_current_action_time()
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.c')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 89c6c09ae..cc829a894 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1994,3 +1994,9 @@ empathy_context_menu_new (GtkWidget *attach_to)
return menu;
}
+
+gint64
+empathy_get_current_action_time (void)
+{
+ return (tp_user_action_time_from_x11 (gtk_get_current_event_time ()));
+}