From: J. A. H. <j_...@us...> - 2002-12-29 21:30:25
|
Update of /cvsroot/slashem/slashem/win/gtk2 In directory sc8-pr-cvs1:/tmp/cvs-serv28801/win/gtk2 Modified Files: gtkhack.c gtkint.c Log Message: Remove assumption that all plug-in interfaces are GTK. Index: gtkhack.c =================================================================== RCS file: /cvsroot/slashem/slashem/win/gtk2/gtkhack.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** gtkhack.c 23 Dec 2002 22:59:03 -0000 1.2 --- gtkhack.c 29 Dec 2002 21:30:22 -0000 1.3 *************** *** 12,15 **** --- 12,16 ---- { char *s; + proxy_svc_set_ext_procs(win_GTK_init, >K_ext_procs); s = g_find_program_in_path("slashem"); proxy_connect("file", s ? s : "slashem", &argc, argv); Index: gtkint.c =================================================================== RCS file: /cvsroot/slashem/slashem/win/gtk2/gtkint.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** gtkint.c 23 Dec 2002 22:59:03 -0000 1.5 --- gtkint.c 29 Dec 2002 21:30:22 -0000 1.6 *************** *** 116,119 **** --- 116,120 ---- /* Win32 has no concept of fork, so we simply execute ourselves */ char *s; + proxy_svc_set_ext_procs(win_GTK_init, >K_ext_procs); s = g_find_program_in_path(argv[0]); proxy_connect("file", s ? s : argv[0], argcp, argv); *************** *** 155,158 **** --- 156,160 ---- #endif #endif + proxy_svc_set_ext_procs(win_GTK_init, >K_ext_procs); proxy_start_server(argv[0], (void *)from_game[0], (void *)to_game[1]); exit(1); |