[librsvg/librsvg-2.40] rsvg_get_base_uri_from_filename(): Make private



commit b0fb1d78631a1726a3427bb2680f1431ac16d868
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Dec 4 18:27:59 2017 -0600

    rsvg_get_base_uri_from_filename(): Make private

 rsvg-base.c    |    3 +--
 rsvg-private.h |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/rsvg-base.c b/rsvg-base.c
index 5260540..b637f93 100644
--- a/rsvg-base.c
+++ b/rsvg-base.c
@@ -1057,14 +1057,13 @@ rsvg_path_is_uri (char const *path)
     return (p[0] == ':' && p[1] == '/' && p[2] == '/');
 }
 
-gchar *
+static gchar *
 rsvg_get_base_uri_from_filename (const gchar * filename)
 {
     gchar *current_dir;
     gchar *absolute_filename;
     gchar *base_uri;
 
-
     if (g_path_is_absolute (filename))
         return g_filename_to_uri (filename, NULL, NULL);
 
diff --git a/rsvg-private.h b/rsvg-private.h
index 1eca030..8c3083d 100644
--- a/rsvg-private.h
+++ b/rsvg-private.h
@@ -363,8 +363,7 @@ GdkPixbuf *rsvg_pixbuf_from_data_with_size_data (const guchar * buff,
                                                  const char *base_uri, GError ** error);
 G_GNUC_INTERNAL
 gboolean     rsvg_eval_switch_attributes       (RsvgPropertyBag * atts, gboolean * p_has_cond);
-G_GNUC_INTERNAL
-gchar       *rsvg_get_base_uri_from_filename    (const gchar * file_name);
+
 G_GNUC_INTERNAL
 void rsvg_pop_discrete_layer    (RsvgDrawingCtx * ctx);
 G_GNUC_INTERNAL


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]