GNOME Bugzilla – Bug 312238
Should depend explicitly on glib-2.0 >= 2.7.0
Last modified: 2005-08-03 05:57:08 UTC
shell/ev-window.c calls g_file_set_contents(), a function that is available since glib-2.7.0. It would be nice to add the corresponding check in the configure script. I'll attach the small patch against configure.ac for this in case you want to review it. Thanks.
Created attachment 50066 [details] [review] evince-HEAD-glib_dep.patch
Hmm not sure what we actually want to do here. We have already several places where we depend on gtk 2.7, we may either drop all the 2.6 compatibility code or define out the use of g_file_set_contents() too. It would be probably good to be able to compile 0.4 with gtk 2.6 too, because several distributions are shipping 0.3, which was not stable release quality yet.
We could also copy the g_file_set_contents() code and enable it for 2.6, if it doesnt have too many dependencies.
Marco, you convinced me. Lets get this working with GTK+ 2.6
I've copy-pasted glib code and stripped it a bit to drop problems with translations. This bug should be fixed in CVS.