Skip to content

Commit

Permalink
gnome stuff (sort of) ok again
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@6118 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
pd committed Oct 9, 1999
1 parent 664ed89 commit 8251d8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gnome/system.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -136,9 +136,10 @@ void R_CleanUp(int saveact)
GtkWidget *dialog; GtkWidget *dialog;
gint which; /* yes = 0, no = 1, cancel = 2 || -1 */ gint which; /* yes = 0, no = 1, cancel = 2 || -1 */


/*
GList *curfile = R_gtk_editfiles; GList *curfile = R_gtk_editfiles;
R_gtk_edititem *edititem; R_gtk_edititem *edititem;

*/
if(saveact == SA_DEFAULT) /* The normal case apart from R_Suicide */ if(saveact == SA_DEFAULT) /* The normal case apart from R_Suicide */
saveact = SaveAction; saveact = SaveAction;


Expand Down Expand Up @@ -191,12 +192,13 @@ void R_CleanUp(int saveact)


/* save GUI preferences */ /* save GUI preferences */
R_gnome_prefs_save(); R_gnome_prefs_save();
/* unlink all the files we opened for editing */ /* unlink all the files we opened for editing
while(curfile != NULL) { while(curfile != NULL) {
edititem = (R_gtk_edititem *) curfile->data; edititem = (R_gtk_edititem *) curfile->data;
unlink(edititem->filename); unlink(edititem->filename);
curfile = g_list_next(curfile); curfile = g_list_next(curfile);
} }
*/




/* close all the graphics devices */ /* close all the graphics devices */
Expand Down
2 changes: 2 additions & 0 deletions src/gnome/terminal.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -119,10 +119,12 @@ void R_gtk_terminal_new()
/* Show the window */ /* Show the window */
gtk_widget_show_all(R_gtk_main_window); gtk_widget_show_all(R_gtk_main_window);


#if 0
/* initialise list */ /* initialise list */
R_gtk_editfiles = NULL; R_gtk_editfiles = NULL;


R_gtk_gui_quit = FALSE; R_gtk_gui_quit = FALSE;
#endif


/* Initialise the find code */ /* Initialise the find code */
R_gtk_terminal_find_init(); R_gtk_terminal_find_init();
Expand Down

0 comments on commit 8251d8f

Please sign in to comment.