gnomemm r2035 - in gnome-vfsmm/trunk: . libgnomevfs/libgnomevfsmm



Author: murrayc
Date: Mon Feb  2 09:44:30 2009
New Revision: 2035
URL: http://svn.gnome.org/viewvc/gnomemm?rev=2035&view=rev

Log:
2009-02-02  Vincent Untz  <vuntz gnome org>

* libgnomevfs/libgnomevfsmm/application-registry.cc:
supports_mime_type(), supports_uri_scheme():
Actually return the bool.
Bug #570107.

Modified:
   gnome-vfsmm/trunk/ChangeLog
   gnome-vfsmm/trunk/libgnomevfs/libgnomevfsmm/application-registry.cc

Modified: gnome-vfsmm/trunk/libgnomevfs/libgnomevfsmm/application-registry.cc
==============================================================================
--- gnome-vfsmm/trunk/libgnomevfs/libgnomevfsmm/application-registry.cc	(original)
+++ gnome-vfsmm/trunk/libgnomevfs/libgnomevfsmm/application-registry.cc	Mon Feb  2 09:44:30 2009
@@ -91,12 +91,12 @@
 
 bool supports_mime_type(const Glib::ustring& app_id, const Glib::ustring& mime_type)
 {
-  gnome_vfs_application_registry_supports_mime_type(app_id.c_str(), mime_type.c_str());
+  return gnome_vfs_application_registry_supports_mime_type(app_id.c_str(), mime_type.c_str());
 }
 
 bool supports_uri_scheme(const Glib::ustring& app_id, const Glib::ustring& uri_scheme)
 {
-  gnome_vfs_application_registry_supports_uri_scheme(app_id.c_str(), uri_scheme.c_str());
+  return gnome_vfs_application_registry_supports_uri_scheme(app_id.c_str(), uri_scheme.c_str());
 }
 
 void clear_mime_types(const Glib::ustring& app_id)



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