diff options
author | Federico Mena Quintero <federico@gnome.org> | 2020-11-05 17:31:59 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2020-11-06 11:30:44 -0600 |
commit | 7d032cb807b90fcb56fa6b378a6e628307c70989 (patch) | |
tree | 0377bf750e0850a87bb1024b5efe8d9a8da49d9b /gdk-pixbuf-loader | |
parent | 6dae695f8770cf122fc75f8fcfda95c53e4ae742 (diff) | |
download | librsvg-7d032cb807b90fcb56fa6b378a6e628307c70989.tar.gz |
Use #include <librsvg/blah.h> in rsvg.h
This way we can avoid -I$(top_builddir)/include/librsvg everywhere
just so that header can pick up rsvg-version.h, the only generated
header file.
Also, it seems more correct, e.g. GTK does it that way?
Diffstat (limited to 'gdk-pixbuf-loader')
-rw-r--r-- | gdk-pixbuf-loader/Makefile.am | 2 | ||||
-rw-r--r-- | gdk-pixbuf-loader/io-svg.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/gdk-pixbuf-loader/Makefile.am b/gdk-pixbuf-loader/Makefile.am index b71801c8..12280112 100644 --- a/gdk-pixbuf-loader/Makefile.am +++ b/gdk-pixbuf-loader/Makefile.am @@ -12,7 +12,6 @@ libpixbufloader_svg_la_CPPFLAGS = \ -I$(top_srcdir)/include \ -I$(top_builddir) \ -I$(top_builddir)/include \ - -I$(top_builddir)/include/librsvg \ -DGDK_PIXBUF_ENABLE_BACKEND \ -DG_LOG_DOMAIN=\"libpixbufloader-svg\" \ $(AM_CPPFLAGS) @@ -43,7 +42,6 @@ rsvg_loader_CPPFLAGS = \ -I$(top_srcdir)/include \ -I$(top_builddir) \ -I$(top_builddir)/include \ - -I$(top_builddir)/include/librsvg \ $(AM_CPPFLAGS) rsvg_loader_CFLAGS = \ $(GDK_PIXBUF_CFLAGS) \ diff --git a/gdk-pixbuf-loader/io-svg.c b/gdk-pixbuf-loader/io-svg.c index a8577d0b..99d5bcaa 100644 --- a/gdk-pixbuf-loader/io-svg.c +++ b/gdk-pixbuf-loader/io-svg.c @@ -28,7 +28,7 @@ #include <stdlib.h> -#include "librsvg/rsvg.h" +#include <librsvg/rsvg.h> #include <gdk-pixbuf/gdk-pixbuf.h> #define N_(string) (string) |