mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
0da978b8c2
2001-10-23 Michael Natterer <mitch@gimp.org> * app/app_procs.c: pass a "Gimp" to gui_libs_init(), initialize the GUI before initializing the plug-ins. * app/gui/menus.[ch]: removed menus_last_opened_add() and connect to gimp->documents' "add", "remove" and "reorder" signals to auto-update the "last opened" menu entries. Moved all public functions to the top of the file. Removed global variable "last_opened_raw_filenames". * app/gui/gui.[ch]: removed "last opened" fiddling here, moved menu init functions which need to be called after plug-in query to gui_restore(). * app/gui/session.[ch]: added "Gimp" parameters to all public functions. * app/file-save.c * app/gui/file-commands.c * app/gui/file-open-dialog.c: changed accordingly.
29 lines
1,011 B
C
29 lines
1,011 B
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __SESSION_H__
|
|
#define __SESSION_H__
|
|
|
|
|
|
void session_init (Gimp *gimp);
|
|
void session_restore (Gimp *gimp);
|
|
void session_save (Gimp *gimp);
|
|
|
|
|
|
#endif /* __SESSION_H__ */
|