added libgimpthumb.
2003-12-08 Sven Neumann <sven@gimp.org> * Makefile.am (SUBDIRS): added libgimpthumb. * libgimpthumb/gimpthumb-utils.c * libgimpthumb/gimpthumbnail.c: basic functionality is implemented and seems to be working. * app/Makefile.am: link the application against libgimpthumb. * app/core/core-types.h: include libgimpthumb/gimpthumb-types.h. * app/core/gimpimagefile.[ch]: removed thumbnail handling routines and use libgimpthumb instead. Fixes bug #127914. * app/gui/file-open-dialog.c * app/widgets/gimpdocumentview.c: changed accordingly.
This commit is contained in:
committed by
Sven Neumann
parent
e6249912c4
commit
d8903a2477
@ -81,7 +81,8 @@ gimp_thumb_init (const gchar *creator,
|
||||
enum_class = g_type_class_ref (GIMP_TYPE_THUMB_SIZE);
|
||||
|
||||
thumb_num_sizes = enum_class->n_values;
|
||||
thumb_subdirs = g_new (gchar *, thumb_num_sizes);
|
||||
thumb_sizes = g_new (gint, thumb_num_sizes);
|
||||
thumb_subdirs = g_new (gchar *, thumb_num_sizes);
|
||||
|
||||
for (i = 0, enum_value = enum_class->values;
|
||||
i < enum_class->n_values;
|
||||
@ -167,8 +168,8 @@ gimp_thumb_name_from_uri (const gchar *uri,
|
||||
}
|
||||
|
||||
gchar *
|
||||
gimp_thumb_find_png_thumb (const gchar *uri,
|
||||
GimpThumbSize *size)
|
||||
gimp_thumb_find_thumb (const gchar *uri,
|
||||
GimpThumbSize *size)
|
||||
{
|
||||
const gchar *name;
|
||||
gchar *thumb_name;
|
||||
|
||||
Reference in New Issue
Block a user