summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-10-02 17:09:41 +0000
committerManish Singh <yosh@src.gnome.org>2004-10-02 17:09:41 +0000
commit0d98f8f9a766b13ed91c365a629e73b2bf473e30 (patch)
treedee04cac3267d1122de016dd9665e9abbbf426e3
parentc74be13fe29b15bffa8b57675076874605834998 (diff)
downloadpango-0d98f8f9a766b13ed91c365a629e73b2bf473e30.tar.gz
Use g_return_val_if_fail() instead of g_return_if_fail() since this
Sat Oct 2 10:08:13 2004 Manish Singh <yosh@gimp.org> * modules/thai/thai-ot.c (thai_ot_get_ruleset): Use g_return_val_if_fail() instead of g_return_if_fail() since this function returns a value.
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-1-106
-rw-r--r--ChangeLog.pre-1-86
-rw-r--r--modules/thai/thai-ot.c2
4 files changed, 19 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 29be21d5..4675e04c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Oct 2 10:08:13 2004 Manish Singh <yosh@gimp.org>
+
+ * modules/thai/thai-ot.c (thai_ot_get_ruleset): Use
+ g_return_val_if_fail() instead of g_return_if_fail() since this
+ function returns a value.
+
2004-10-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
Make Thai module prefer OpenType tables, if available, to PUA
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 29be21d5..4675e04c 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,9 @@
+Sat Oct 2 10:08:13 2004 Manish Singh <yosh@gimp.org>
+
+ * modules/thai/thai-ot.c (thai_ot_get_ruleset): Use
+ g_return_val_if_fail() instead of g_return_if_fail() since this
+ function returns a value.
+
2004-10-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
Make Thai module prefer OpenType tables, if available, to PUA
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index 29be21d5..4675e04c 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,9 @@
+Sat Oct 2 10:08:13 2004 Manish Singh <yosh@gimp.org>
+
+ * modules/thai/thai-ot.c (thai_ot_get_ruleset): Use
+ g_return_val_if_fail() instead of g_return_if_fail() since this
+ function returns a value.
+
2004-10-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
Make Thai module prefer OpenType tables, if available, to PUA
diff --git a/modules/thai/thai-ot.c b/modules/thai/thai-ot.c
index e02a50cf..e335901a 100644
--- a/modules/thai/thai-ot.c
+++ b/modules/thai/thai-ot.c
@@ -52,7 +52,7 @@ thai_ot_get_ruleset (PangoFont *font)
PangoOTInfo *info;
PangoOTRuleset *ruleset = NULL;
- g_return_if_fail (font != NULL);
+ g_return_val_if_fail (font != NULL, NULL);
fc_font = PANGO_FC_FONT (font);
face = pango_fc_font_lock_face (fc_font);