GNOME Bugzilla – Bug 581811
Gio::content_type_guess() miss the version with a NULL filename
Last modified: 2010-01-11 04:29:42 UTC
Gio::content_type_guess() miss the version with a NULL filename amongst the overloads.
OR it could pass NULL if the filename is empty.
Created attachment 150882 [details] [review] Bug 581811 - Gio::content_type_guess() miss the version with a NULL filename Pass NULL to the C function when the filename is an empty string. The alternative of providing an overloaded function without the filename parameter would have resulted in 6 overloads of this function, which is just too much, so I chose this path instead.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.