[PD-cvs] pd/src g_editor.c, 1.4.4.2.2.6, 1.4.4.2.2.7 s_inter.c, 1.5.4.10.2.15, 1.5.4.10.2.16
Thomas Grill
xovo at users.sourceforge.net
Wed Jul 26 12:17:29 CEST 2006
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21472
Modified Files:
Tag: devel_0_39
g_editor.c s_inter.c
Log Message:
merged in Zmoelnigs freeonquit patch (1502860)
Index: s_inter.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_inter.c,v
retrieving revision 1.5.4.10.2.15
retrieving revision 1.5.4.10.2.16
diff -C2 -d -r1.5.4.10.2.15 -r1.5.4.10.2.16
*** s_inter.c 20 Apr 2006 16:39:47 -0000 1.5.4.10.2.15
--- s_inter.c 26 Jul 2006 10:17:27 -0000 1.5.4.10.2.16
***************
*** 1138,1141 ****
--- 1138,1149 ----
if (stat(filename, &statbuf) >= 0)
goto foundit;
+ strcpy(filename,
+ "/Library/Frameworks/Tk.Framework/Resources/Wish Shell.app/Contents/MacOS/Wish Shell");
+ if (stat(filename, &statbuf) >= 0)
+ goto foundit;
+ strcpy(filename,
+ "/System/Library/Frameworks/Tk.Framework/Resources/Wish Shell.app/Contents/MacOS/Wish Shell");
+ if (stat(filename, &statbuf) >= 0)
+ goto foundit;
strcpy(filename,
"/Applications/Wish.app/Contents/MacOS/Wish");
***************
*** 1341,1346 ****
--- 1349,1357 ----
}
+ void glob_closeall(void *dummy, t_floatarg fforce);
+
void glob_quit(void *dummy)
{
+ glob_closeall(0, 1);
sys_vgui("exit\n");
if (!sys_nogui)
Index: g_editor.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/g_editor.c,v
retrieving revision 1.4.4.2.2.6
retrieving revision 1.4.4.2.2.7
diff -C2 -d -r1.4.4.2.2.6 -r1.4.4.2.2.7
*** g_editor.c 17 Sep 2005 22:35:07 -0000 1.4.4.2.2.6
--- g_editor.c 26 Jul 2006 10:17:26 -0000 1.4.4.2.2.7
***************
*** 1688,1691 ****
--- 1688,1702 ----
}
+ void canvas_menuclose(t_canvas *x, t_floatarg fforce);
+ /* properly close all open root canvases */
+ void glob_closeall(void*dummy, t_floatarg fforce)
+ {
+ t_canvas*x;
+ for (x = canvas_list; x; x = x->gl_next)
+ {
+ canvas_menuclose(x, fforce); /* forced closing of this root canvas */
+ }
+ }
+
/* quit, after calling glist_finddirty() on all toplevels and verifying
the user really wants to discard changes */
More information about the Pd-cvs
mailing list