Skip to content
  • Jon K Hellan's avatar
    Use gtk_idle_add to postpone clipboard setup. For mysterious reasons, · 62fb7f8d
    Jon K Hellan authored
    2001-04-13  Jon K Hellan  <hellan@acm.org>
    
    	* src/workbook-control-gui.c (workbook_control_gui_init): Use
    	gtk_idle_add to postpone clipboard setup. For mysterious reasons,
    	connecting callbacks to the table doesn't work. Toplevel does
    	work, but we must wait until we live inside a toplevel.
    
    	* src/gui-clipboard.c (x_selection_received,
    	x_clipboard_bind_workbook): Use wb_control_gui_toplevel to
    	determine toplevel.
    
    	* src/gui-clipboard.[ch] (x_clipboard_bind_workbook): Change
    	signature to make it callable as an idle function. Make it
    	determine the toplevel from
    62fb7f8d