mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
df34354784
2004-10-25 Michael Natterer <mitch@gimp.org> * app/widgets/gimpwidgets-utils.[ch]: added gimp_text_buffer_save() which saves a GtkTextBuffer's contents to a file. * app/widgets/gimperrorconsole.c: use gimp_editor_add_action_button() and removed all "clicked" callbacks, including all file saving code. * app/actions/error-console-actions.c * app/actions/error-console-commands.[ch]: added the code removed above to the action callbacks. Use gimp_text_buffer_save().
31 lines
1.2 KiB
C
31 lines
1.2 KiB
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 __ERROR_CONSOLE_COMMANDS_H__
|
|
#define __ERROR_CONSOLE_COMMANDS_H__
|
|
|
|
|
|
void error_console_clear_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
void error_console_save_cmd_callback (GtkAction *action,
|
|
gint value,
|
|
gpointer data);
|
|
|
|
|
|
#endif /* __ERROR_CONSOLE_COMMANDS_H__ */
|