[yelp] [libyelp/yelp-document] Default to help-contents page icon
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] [libyelp/yelp-document] Default to help-contents page icon
- Date: Fri, 30 Apr 2010 16:30:51 +0000 (UTC)
commit 41bfb594adb3c3ea594c49924f31226c754559c0
Author: Shaun McCance <shaunm gnome org>
Date: Fri Apr 30 11:27:12 2010 -0500
[libyelp/yelp-document] Default to help-contents page icon
libyelp/yelp-document.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libyelp/yelp-document.c b/libyelp/yelp-document.c
index c4ceba9..fb5a3ac 100644
--- a/libyelp/yelp-document.c
+++ b/libyelp/yelp-document.c
@@ -596,6 +596,9 @@ yelp_document_get_page_icon (YelpDocument *document,
}
g_mutex_unlock (document->priv->mutex);
+ if (ret == NULL)
+ ret = g_strdup ("help-contents");
+
return ret;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]