comparison src/select-gtk.c @ 2054:91d4c8c65a0f

[xemacs-hg @ 2004-05-02 04:06:51 by malcolmp] Fix warnings and errors when building GTK using C++ and --use-union-type.
author malcolmp
date Sun, 02 May 2004 04:07:01 +0000
parents a8d8f419b459
children 04bc9d2f42c7
comparison
equal deleted inserted replaced
2053:11e709117623 2054:91d4c8c65a0f
407 gtk_own_selection (Lisp_Object selection_name, Lisp_Object selection_value, 407 gtk_own_selection (Lisp_Object selection_name, Lisp_Object selection_value,
408 Lisp_Object how_to_add, Lisp_Object selection_type, int owned_p) 408 Lisp_Object how_to_add, Lisp_Object selection_type, int owned_p)
409 { 409 {
410 struct device *d = decode_gtk_device (Qnil); 410 struct device *d = decode_gtk_device (Qnil);
411 GtkWidget *selecting_window = GTK_WIDGET (DEVICE_GTK_APP_SHELL (d)); 411 GtkWidget *selecting_window = GTK_WIDGET (DEVICE_GTK_APP_SHELL (d));
412 Lisp_Object selection_time;
413 /* Use the time of the last-read mouse or keyboard event. 412 /* Use the time of the last-read mouse or keyboard event.
414 For selection purposes, we use this as a sleazy way of knowing what the 413 For selection purposes, we use this as a sleazy way of knowing what the
415 current time is in server-time. This assumes that the most recently read 414 current time is in server-time. This assumes that the most recently read
416 mouse or keyboard event has something to do with the assertion of the 415 mouse or keyboard event has something to do with the assertion of the
417 selection, which is probably true. 416 selection, which is probably true.