[babl/daniel-tolerance-hacks: 6/14] Add introspection function for BablFishPath
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl/daniel-tolerance-hacks: 6/14] Add introspection function for BablFishPath
- Date: Thu, 7 Feb 2013 20:32:23 +0000 (UTC)
commit 8bcf4f0cb7d15720ac585d7ce731953fbf14d99a
Author: Daniel Sabo <DanielSabo gmail com>
Date: Tue Jan 29 02:13:24 2013 -0800
Add introspection function for BablFishPath
babl/babl-introspect.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/babl/babl-introspect.c b/babl/babl-introspect.c
index 34cf9b4..c3f6737 100644
--- a/babl/babl-introspect.c
+++ b/babl/babl-introspect.c
@@ -164,6 +164,15 @@ fish_introspect (Babl *babl)
babl->fish.processings, babl->fish.pixels);
}
+static void
+fish_path_introspect (Babl *babl)
+{
+ babl_log ("\t\tcost:%f error:%f",
+ babl->fish_path.cost, babl->fish.error);
+
+ babl_list_each(babl->fish_path.conversion_list, each_introspect, NULL);
+}
+
static int
each_introspect (Babl *babl,
void *user_data)
@@ -209,6 +218,10 @@ each_introspect (Babl *babl,
case BABL_FISH_SIMPLE:
fish_introspect (babl);
break;
+
+ case BABL_FISH_PATH:
+ fish_path_introspect (babl);
+ break;
default:
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]