From 04d97c1a6895a4ab6987fbb851513f9b82f4e741 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Wed, 12 Aug 2009 22:25:44 +0000 Subject: So it turns out that gdk already has a function that does exactly what we want. http://www.google.com/codesearch/p?hl=en&sa=N&cd=2&ct=rc#eSCqYNcHl48/gtk%2B-2.4.10/gdk/gdkevents.c&q=gdk_event_get_time Review URL: http://codereview.chromium.org/164429 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23234 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/gtk_util.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'chrome/common/gtk_util.h') diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h index 556e77f..8ff40c4 100644 --- a/chrome/common/gtk_util.h +++ b/chrome/common/gtk_util.h @@ -25,11 +25,6 @@ namespace event_utils { // event_flags are the state in the GdkEvent structure. WindowOpenDisposition DispositionFromEventFlags(guint state); -// Get the timestamp (milliseconds) out of a GdkEvent. -// Returns 0 if the event has no timestamp. -// TODO(evanm): see comments in jankometer.cc about using this. -guint32 GetGdkEventTime(GdkEvent* event); - } // namespace event_utils namespace gtk_util { -- cgit v1.1