Commit 92be36ca authored by Dom Lachowicz's avatar Dom Lachowicz

137934

parent ec441166
2004-06-21 Dom Lachiwicz <cinamod@hotmail.com>
* configure.in: Fix bug #137934
2004-06-18 Dom Lachowicz <cinamod@hotmail.com>
* rsvg.c: Beginnings of <switch> support
......
......@@ -259,13 +259,23 @@ AC_SUBST(GNOME_PRINT_LIBS)
have_gdk_x11=no
PKG_CHECK_MODULES(GDK_X11, gdk-x11-2.0 >= 2.0.0, have_gdk_x11=yes, have_gdk_x11=no)
AC_SUBST(GDK_X11_CFLAGS)
AC_SUBST(GDK_X11_LIBS)
if test "x$have_gdk_x11" = "xyes"; then
AC_DEFINE(ENABLE_XEMBED, 1, [Is XEmbed available])
AC_PATH_XTRA
if test "x$have_x" != "xyes"; then
GDK_X11_LIBS=""
GDK_X11_CFLAGS=""
else
GDK_X11_LIBS="$GDK_X11_LIBS $X_LIBS -lX11"
GDK_X11_CFLAGS="$GDK_X11_CFLAGS $X_CFLAGS"
AC_DEFINE(ENABLE_XEMBED, 1, [Is XEmbed available])
fi
fi
AC_SUBST(GDK_X11_CFLAGS)
AC_SUBST(GDK_X11_LIBS)
AC_ARG_ENABLE(gtk-theme,
[ --enable-gtk-theme Enable a RSVG based GTK+ theme engine [default=auto]],,
enable_gtk_theme=yes)
......
......@@ -460,9 +460,10 @@ NP_GetValue (void *future, NPPVariable variable, void *value)
char *
NP_GetMIMEDescription (void)
{
/* unfortunately, a lot of win32 servers serving up Adobe content return image/svg-xml */
/* unfortunately, a lot of win32 servers serving up Adobe content return bogus mime-types... */
return ("image/svg+xml:svg:Scalable Vector Graphics;image/svg-xml:svg:Scalable Vector Graphics;"
"image/svg:svg:Scalable Vector Graphics");
"image/svg:svg:Scalable Vector Graphics;image/vnd.adobe.svg+xml:svg:Scalable Vector Graphics;"
"text/xml-svg:svg:Scalable Vector Graphics");
}
NPError
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment