evince r3393 - in trunk: . libdocument



Author: chpe
Date: Fri Jan 30 18:50:40 2009
New Revision: 3393
URL: http://svn.gnome.org/viewvc/evince?rev=3393&view=rev

Log:
	* libdocument/ev-backends-manager.c: (ev_backends_manager_load): Make
	this return TRUE only if any backends were loaded, so the ev_init()
	function works as documented.

Modified:
   trunk/ChangeLog
   trunk/libdocument/ev-backends-manager.c

Modified: trunk/libdocument/ev-backends-manager.c
==============================================================================
--- trunk/libdocument/ev-backends-manager.c	(original)
+++ trunk/libdocument/ev-backends-manager.c	Fri Jan 30 18:50:40 2009
@@ -143,7 +143,7 @@
 
 	g_dir_close (dir);
 
-	return TRUE;
+	return ev_backends_list != NULL;
 }
 
 /*



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