[librsvg/librsvg-2.40: 6/10] Remove unused function
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.40: 6/10] Remove unused function
- Date: Wed, 26 Feb 2020 17:43:25 +0000 (UTC)
commit cc032137f980be2ab3f3881a8e79eae4a1f2493d
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Feb 26 11:27:29 2020 -0600
Remove unused function
rsvg-structure.c | 17 -----------------
1 file changed, 17 deletions(-)
---
diff --git a/rsvg-structure.c b/rsvg-structure.c
index d31e6d50..88b7ce25 100644
--- a/rsvg-structure.c
+++ b/rsvg-structure.c
@@ -162,23 +162,6 @@ rsvg_node_group_pack (RsvgNode * self, RsvgNode * child)
child->parent = self;
}
-static gboolean
-rsvg_node_is_ancestor (RsvgNode * potential_ancestor, RsvgNode * potential_descendant)
-{
- /* work our way up the family tree */
- while (TRUE) {
- if (potential_ancestor == potential_descendant)
- return TRUE;
- else if (potential_descendant->parent == NULL)
- return FALSE;
- else
- potential_descendant = potential_descendant->parent;
- }
-
- g_assert_not_reached ();
- return FALSE;
-}
-
static void
rsvg_node_use_draw (RsvgNode * self, RsvgDrawingCtx * ctx, int dominate)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]