[yelp/yelp-3-0] [libyelp/yelp-mallard-document] Use the real id when looking up page datas



commit ed4068e4371455595027492d9b9a4079922cd122
Author: Shaun McCance <shaunm gnome org>
Date:   Sun Mar 21 19:02:55 2010 -0500

    [libyelp/yelp-mallard-document] Use the real id when looking up page datas

 libyelp/yelp-mallard-document.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libyelp/yelp-mallard-document.c b/libyelp/yelp-mallard-document.c
index c6501ce..fb7d49f 100644
--- a/libyelp/yelp-mallard-document.c
+++ b/libyelp/yelp-mallard-document.c
@@ -377,7 +377,7 @@ mallard_try_run (YelpMallardDocument *mallard,
         real_id = yelp_document_get_page_id ((YelpDocument *) mallard, page_id);
 
     if (real_id != NULL) {
-        page_data = g_hash_table_lookup (priv->pages_hash, page_id);
+        page_data = g_hash_table_lookup (priv->pages_hash, real_id);
         g_free (real_id);
     }
 



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