[mutter/wip/wayland-display: 2/17] wayland: don't use deprecated stuff



commit f4137879df79c18eb843bff1d38ed8ad62741fd5
Author: Giovanni Campagna <gcampagn redhat com>
Date:   Sat Jul 13 19:25:39 2013 +0200

    wayland: don't use deprecated stuff
    
    The new resource creation functions allow us to specify the version
    explicitly, which is necessary to avoid gtk+ calling methods we
    don't implement yet.

 src/wayland/meta-wayland.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index 860ac39..2c6c0fb 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -68,7 +68,7 @@ get_time (void)
 {
   struct timeval tv;
   gettimeofday (&tv, NULL);
-  return tv.tv_sec * 1000 + tv.tv_usec / 1000;
+ return tv.tv_sec * 1000 + tv.tv_usec / 1000;
 }
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]