patch-lcd_c 626 B

12345678910111213141516171819202122232425
  1. $OpenBSD: patch-lcd_c,v 1.1 2010/03/23 20:38:20 jasper Exp $
  2. Port to gtk+2.
  3. --- lcd.c.orig Thu Apr 4 05:46:11 2002
  4. +++ lcd.c Tue Mar 23 21:35:11 2010
  5. @@ -20,6 +20,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston,
  6. /* lcd.c by Paul Wilkins 3/22/97 */
  7. #include <stdio.h>
  8. +#include <stdlib.h>
  9. +#include <string.h>
  10. #include <gtk/gtk.h>
  11. #include <gdk/gdkkeysyms.h>
  12. @@ -677,7 +679,7 @@ void convertSelection(
  13. #else
  14. switch(selection->target){
  15. #endif
  16. - case GDK_TARGET_STRING:
  17. +/* case GDK_TARGET_STRING:*/
  18. case TARGET_STRING:
  19. gtk_selection_data_set(
  20. selection,