GNOME Bugzilla – Bug 516758
[PATCH] Port to gio
Last modified: 2008-08-03 07:48:03 UTC
Attached is a patch to port gtksourceview (really, just test-widget) to gio, our new file I/O overlords. As well as just a straight port, I used GFile more extensively in the code so that now test-widget can take URIs in addition to file paths.
Created attachment 105353 [details] [review] Proposed patch, gnome-vfs -> gio
thanks for the patch... given that gnome-vfs is just an optional dep for the test program I am not in a hurry to commit this since right now it would mean more ifdeffing (I do not want to bump the glib requirement just for this). Let's wait for the next developement cycle
paolo: *ping* - can this go in now?
Why not simply replace gnomevfs with gio, i.e. make it optional? I/O overlords get their lamb, yet there won't be a hard dependency on new glib.
well, actually at some point I was planning to introduce gtk_source_language_manager_ger_language_from_content_type (yay for short names...) which would require gio. But for now sure I would not mind make the use of gio conditional as it is now, though it just seems like a silly exercise: gtksourceview itself does not really depend on gio or gnome-vfs
i'd really appreciate substituting the optional gnome-vfs dependency by an optional gvfs/gio dependency to clean up our stack, apart from any other long-term plans like gtk_source_language_manager_ger_language_from_content_type.
*** This bug has been marked as a duplicate of 546060 ***