mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 21:11:43 +00:00
df09eb68d3
2003-02-20 Sven Neumann <sven@gimp.org> * libgimpbase/gimputils.c (gimp_utf8_strtrim): trim the string only if necessary. * app/text/gimptext.c: changed the default text to NULL. * app/widgets/gimptexteditor.[ch]: replaced Cancel and OK buttons with a single Close button and removed the callback. * app/widgets/gimppropwidgets.c: gtk_text_buffer_set_text() doesn't like NULL pointers, pass it an empty string instead. * app/tools/gimptexttool.c: create a new text layer as soon as the user starts editing.
31 lines
1.1 KiB
C
31 lines
1.1 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* GimpTextEditor
|
|
* Copyright (C) 2002-2003 Sven Neumann <sven@gimp.org>
|
|
*
|
|
* 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 __GIMP_TEXT_EDITOR_H__
|
|
#define __GIMP_TEXT_EDITOR_H__
|
|
|
|
|
|
GtkWidget * gimp_text_editor_new (const gchar *title,
|
|
GtkTextBuffer *buffer);
|
|
|
|
|
|
#endif /* __GIMP_TEXT_EDITOR_H__ */
|