GImageView is a GTK+ based image viewer which supports tabbed browsing, thumbnail table views, directory tree views and drag and drop. It also support movies using the Xine library and MPlayer, and supports images in compressed archive formats.
Revision | a3aab23af81255ec511c32758c1ea9a37b173eb7 (tree) |
---|---|
Time | 2009-01-13 15:34:52 |
Author | makeinu <makeinu@aeae...> |
Commiter | makeinu |
Remove needless lines.
git-svn-id: https://gtkmmviewer.svn.sourceforge.net/svnroot/gtkmmviewer/gimageview/trunk@1212 aeae0eed-423c-0410-9251-95fb8af3d19f
@@ -1,5 +1,10 @@ | ||
1 | 1 | 2009-01-13 Takuro Ashie <ashie@homa.ne.jp> |
2 | 2 | |
3 | + * configure.ac, plugins/image_loader/Makefile.am, | |
4 | + plugins/image_loader/svg.[ch]: Removed needless code. | |
5 | + | |
6 | +2009-01-13 Takuro Ashie <ashie@homa.ne.jp> | |
7 | + | |
3 | 8 | * plugins/image_loader/svg.c: Don't use GError. |
4 | 9 | |
5 | 10 | 2009-01-13 Takuro Ashie <ashie@homa.ne.jp> |
@@ -102,8 +102,6 @@ PKG_CHECK_MODULES(GTK, | ||
102 | 102 | gdk-pixbuf-2.0 >= $GDK_PIXBUF2_REQUIRED |
103 | 103 | gtk+-2.0 >= $GTK2_REQUIRED], , |
104 | 104 | [ AC_MSG_ERROR(Test for GTK+-2.0 failed. See the file 'INSTALL' for help) ]) |
105 | -AC_SUBST(GTK_CFLAGS) | |
106 | -AC_SUBST(GTK_LIBS) | |
107 | 105 | |
108 | 106 | |
109 | 107 | dnl ******************** |
@@ -243,9 +241,6 @@ if test x"$enable_exif" = xyes; then | ||
243 | 241 | AC_DEFINE(ENABLE_EXIF, 1, [Define if you want to compile EXIF features.]) |
244 | 242 | fi |
245 | 243 | |
246 | -AC_SUBST(EXIF_CFLAGS) | |
247 | -AC_SUBST(EXIF_LIBS) | |
248 | - | |
249 | 244 | |
250 | 245 | dnl ******************** |
251 | 246 | dnl Test for libmng |
@@ -318,16 +313,6 @@ fi | ||
318 | 313 | |
319 | 314 | AM_CONDITIONAL(ENABLE_LIBRSVG, test x"$enable_librsvg" = xyes) |
320 | 315 | |
321 | -if test x"$enable_librsvg" = xyes; then | |
322 | - AC_DEFINE(HAVE_LIBRSVG, 1, [Define if you have librsvg.]) | |
323 | - AC_DEFINE(ENABLE_SVG, 1, [Define if you want to compile svg plugin.]) | |
324 | -fi | |
325 | - | |
326 | -AC_SUBST(XML_CFLAGS) | |
327 | -AC_SUBST(XML_LIBS) | |
328 | -AC_SUBST(LIBRSVG_CFLAGS) | |
329 | -AC_SUBST(LIBRSVG_LIBS) | |
330 | - | |
331 | 316 | |
332 | 317 | dnl **************************** |
333 | 318 | dnl Check for libwmf |
@@ -53,7 +53,6 @@ INCLUDES = \ | ||
53 | 53 | $(PNG_CFLAGS) \ |
54 | 54 | $(JPEG_CFLAGS) \ |
55 | 55 | $(MNG_CFLAGS) \ |
56 | - $(XML_CFLAGS) \ | |
57 | 56 | $(LIBRSVG_CFLAGS) \ |
58 | 57 | $(LIBWMF_CFLAGS) \ |
59 | 58 | $(DLLLOADER_CFLAGS) \ |
@@ -100,7 +99,7 @@ libgimv_spi_loader_la_SOURCES = \ | ||
100 | 99 | spi.c spi.h spi-private.h \ |
101 | 100 | spi_image_loader.c spi_image_loader.h |
102 | 101 | |
103 | -libgimv_rsvg_loader_la_LIBADD = $(GTK_LIBS) $(XML_LIBS) $(LIBRSVG_LIBS) | |
102 | +libgimv_rsvg_loader_la_LIBADD = $(GTK_LIBS) $(LIBRSVG_LIBS) | |
104 | 103 | libgimv_rsvg_loader_la_LDFLAGS = -module -avoid-version $(no_undefined) $(GIMV_LIBS) |
105 | 104 | libgimv_rsvg_loader_la_SOURCES = svg.c svg.h |
106 | 105 |
@@ -23,8 +23,6 @@ | ||
23 | 23 | |
24 | 24 | #include "svg.h" |
25 | 25 | |
26 | -#ifdef ENABLE_SVG | |
27 | - | |
28 | 26 | #include <stdio.h> |
29 | 27 | #include <gdk-pixbuf/gdk-pixbuf.h> |
30 | 28 | #include <librsvg/rsvg.h> |
@@ -126,4 +124,3 @@ svg_load_image (GimvImageLoader *loader, gpointer data) | ||
126 | 124 | return NULL; |
127 | 125 | } |
128 | 126 | } |
129 | -#endif /* ENABLE_SVG */ |
@@ -28,14 +28,10 @@ | ||
28 | 28 | # include "config.h" |
29 | 29 | #endif |
30 | 30 | |
31 | -#ifdef ENABLE_SVG | |
32 | - | |
33 | 31 | #include "gimv_image.h" |
34 | 32 | #include "gimv_image_loader.h" |
35 | 33 | |
36 | 34 | GimvImage *svg_load_image (GimvImageLoader *loader, |
37 | 35 | gpointer data); |
38 | 36 | |
39 | -#endif /* ENABLE_SVG */ | |
40 | - | |
41 | 37 | #endif /* __SVG_H__ */ |