gtkhtml r8922 - trunk/gtkhtml



Author: mbarnes
Date: Sat Aug 16 02:55:39 2008
New Revision: 8922
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=8922&view=rev

Log:
2008-08-15  Matthew Barnes  <mbarnes redhat com>

	* gtkhtml/htmlengine.c: Fix compiler warnings.



Modified:
   trunk/gtkhtml/ChangeLog
   trunk/gtkhtml/htmlengine.c

Modified: trunk/gtkhtml/htmlengine.c
==============================================================================
--- trunk/gtkhtml/htmlengine.c	(original)
+++ trunk/gtkhtml/htmlengine.c	Sat Aug 16 02:55:39 2008
@@ -6713,7 +6713,7 @@
 static void
 html_engine_map_table_clear (HTMLEngine *e)
 {
-	g_return_val_if_fail (HTML_IS_ENGINE (e), NULL);
+	g_return_if_fail (HTML_IS_ENGINE (e));
 
 	if (e->map_table) {
 		g_hash_table_foreach_remove (e->map_table, map_table_free_func, NULL);
@@ -6842,7 +6842,7 @@
 void
 html_engine_opened_streams_increment (HTMLEngine *e)
 {
-	g_return_val_if_fail (HTML_IS_ENGINE (e), FALSE);
+	g_return_if_fail (HTML_IS_ENGINE (e));
 	
 	html_engine_opened_streams_set (e, e->opened_streams + 1);
 }
@@ -6850,7 +6850,7 @@
 void
 html_engine_opened_streams_decrement (HTMLEngine *e)
 {
-	g_return_val_if_fail (HTML_IS_ENGINE (e), FALSE);
+	g_return_if_fail (HTML_IS_ENGINE (e));
 	
 	html_engine_opened_streams_set (e, e->opened_streams - 1);
 }
@@ -6858,7 +6858,7 @@
 void
 html_engine_opened_streams_set (HTMLEngine *e, int value)
 {
-	g_return_val_if_fail (HTML_IS_ENGINE (e), FALSE);
+	g_return_if_fail (HTML_IS_ENGINE (e));
 	
 	e->opened_streams = value;
 



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