Re: clipboard_get_timestamp

2011-04-11 Thread Matthias Clasen
On Thu, Apr 7, 2011 at 3:50 PM, Morten Welinder mort...@gnome.org wrote: Once code starts looking like an #ifdef soup it might be time to introduce a method on, say, the window object. IMHO, of course. Certainly. Code that starts looking like that is a very obvious candidate for moving into

clipboard_get_timestamp

2011-04-07 Thread Morten Welinder
Once code starts looking like an #ifdef soup it might be time to introduce a method on, say, the window object. IMHO, of course. Morten #ifdef GDK_WINDOWING_X11 if (GDK_IS_X11_WINDOW (window)) { timestamp = gdk_x11_get_server_time (gtk_widget_get_window