[librsvg/rustification] Remove unused function
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustification] Remove unused function
- Date: Wed, 9 Nov 2016 23:43:08 +0000 (UTC)
commit a2e975ec4736de06221857ff19dae42e1c90d19e
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Nov 9 10:09:56 2016 -0600
Remove unused function
rsvg-defs.c | 10 ----------
rsvg-defs.h | 2 --
2 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/rsvg-defs.c b/rsvg-defs.c
index d2c6a06..441783f 100644
--- a/rsvg-defs.c
+++ b/rsvg-defs.c
@@ -123,16 +123,6 @@ rsvg_defs_lookup (const RsvgDefs * defs, const char *name)
}
void
-rsvg_defs_set (RsvgDefs * defs, const char *name, RsvgNode * val)
-{
- if (name == NULL);
- else if (name[0] == '\0');
- else
- rsvg_defs_register_name (defs, name, val);
- rsvg_defs_register_memory (defs, val);
-}
-
-void
rsvg_defs_register_name (RsvgDefs * defs, const char *name, RsvgNode * val)
{
if (g_hash_table_lookup (defs->hash, name))
diff --git a/rsvg-defs.h b/rsvg-defs.h
index 3d6802f..892a970 100644
--- a/rsvg-defs.h
+++ b/rsvg-defs.h
@@ -40,8 +40,6 @@ RsvgDefs *rsvg_defs_new (RsvgHandle *handle);
/* for some reason this one's public... */
RsvgNode *rsvg_defs_lookup (const RsvgDefs * defs, const char *name);
G_GNUC_INTERNAL
-void rsvg_defs_set (RsvgDefs * defs, const char *name, RsvgNode * val);
-G_GNUC_INTERNAL
void rsvg_defs_free (RsvgDefs * defs);
G_GNUC_INTERNAL
void rsvg_defs_register_name (RsvgDefs * defs, const char *name, RsvgNode * val);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]