mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
5d7b121fd7
2004-11-04 Michael Natterer <mitch@gimp.org> Don't use deprecated GtkToolbar API in GimpTextEditor: * app/actions/Makefile.am * app/actions/actions.c * app/actions/text-editor-actions.[ch] * app/actions/text-editor-commands.[ch]: added acions and callbacks for the new "text-editor" action group. * app/menus/menus.c: register a "<TextEditor>" UI manager. * menus/Makefile.am * menus/text-editor-toolbar.xml: new file for the toolbar. * app/widgets/gimptexteditor.[ch]: use the toolbar created by the UI manager instead of constructing it using deprecated API. * app/tools/gimptextoptions.c: changed accordingly. * app/widgets/gimpwidgets-utils.[ch]: added gimp_text_buffer_load() (used by text-editor-commands.c).
33 lines
1.3 KiB
C
33 lines
1.3 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 __TEXT_EDITOR_COMMANDS_H__
|
|
#define __TEXT_EDITOR_COMMANDS_H__
|
|
|
|
|
|
void text_editor_load_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
void text_editor_clear_cmd_callback (GtkAction *action,
|
|
gpointer data);
|
|
void text_editor_direction_cmd_callback (GtkAction *action,
|
|
GtkAction *current,
|
|
gpointer data);
|
|
|
|
|
|
#endif /* __TEXT_EDITOR_COMMANDS_H__ */
|