mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 04:51:44 +00:00
7aaff76971
2003-02-05 Sven Neumann <sven@gimp.org> * libgimpbase/Makefile.am * libgimpbase/gimputils.[ch]: added new files that hold the new gimp_utf8_strtrim() routine; it might be useful in more places. * libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories): silently ignore directories in the path that can't be opened. * app/core/gimpobject.c (gimp_object_set_name_safe): use gimp_utf8_strtrim(). * app/widgets/gimpwidgets-utils.[ch] * app/tools/gimptextoptions.c: try to make the text tool options look more like all other tool options. Still needs work; I'll leave this up to Mitch ... This byte --> <-- is the millionth in this file!
29 lines
1,004 B
C
29 lines
1,004 B
C
/* LIBGIMP - The GIMP Library
|
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __GIMP_UTILS_H__
|
|
#define __GIMP_UTILS_H__
|
|
|
|
|
|
gchar * gimp_utf8_strtrim (const gchar *str,
|
|
gint max_chars);
|
|
|
|
|
|
#endif /* __GIMP_UTILS_H__ */
|