2008-02-25 Alexander Larsson <alexl@redhat.com>
* shell/ev-window.c (ev_window_clear_temp_file):
Use g_file_has_prefix instead of renamed
g_file_contains_file.
* configure.ac:
Require new glib for above change.
svn path=/trunk/; revision=2929
+2008-02-25 Alexander Larsson <alexl@redhat.com>
+
+ * shell/ev-window.c (ev_window_clear_temp_file):
+ Use g_file_has_prefix instead of renamed
+ g_file_contains_file.
+
+ * configure.ac:
+ Require new glib for above change.
+
2008-02-16 Carlos Garcia Campos <carlosgc@gnome.org>
* libdocument/ev-image.c: (ev_image_finalize),
DBUS_GLIB_REQUIRED=0.70
GTK_REQUIRED=2.10.0
-GLIB_REQUIRED=2.15.4
+GLIB_REQUIRED=2.15.6
KEYRING_REQUIRED=0.4.0
LIBGNOMEUI_REQUIRED=2.14.0
file = g_file_new_for_uri (ev_window->priv->uri);
tempdir = g_file_new_for_path (g_get_tmp_dir ());
- if (g_file_contains_file (tempdir, file)) {
+ if (g_file_has_prefix (file, tempdir)) {
g_file_delete (file, NULL, NULL);
}