blob: 97d6d073b551887baea97239df1431b4d91d0e3d [file] [log] [blame]
#
# Fix build failures with USE="xfce"
# Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=216746
#
--- a/src/affinity/aff-results.c 2008-02-14 09:49:53.000000000 -0700
+++ b/src/affinity/aff-results.c 2008-05-15 18:14:09.000000000 -0600
@@ -422,7 +422,7 @@
const char *name = gnome_vfs_mime_application_get_name (app);
const char *icon_name = gnome_vfs_mime_application_get_icon (app);
#elif defined(LIBAWN_USE_XFCE)
- ThunarVfsMimeApplication *app = (ThunarVfsApplication *)a->data;
+ ThunarVfsMimeApplication *app = (ThunarVfsMimeApplication *)a->data;
const char *name = thunar_vfs_mime_application_get_name (app);
const char *icon_name = thunar_vfs_mime_handler_lookup_icon_name (THUNAR_VFS_MIME_HANDLER (app), gtk_icon_theme_get_default ());
#else
--- a/src/affinity/aff-start.c 2008-02-14 09:49:53.000000000 -0700
+++ b/src/affinity/aff-start.c 2008-05-15 18:14:09.000000000 -0600
@@ -203,7 +203,7 @@
#ifdef LIBAWN_USE_GNOME
local_uri = gnome_vfs_get_local_path_from_uri (gtk_recent_info_get_uri (info));
#elif defined(LIBAWN_USE_XFCE)
- ThunarVfsPath *path = thunar_vfs_path_new (gtk_recent_info_get_uri (info));
+ ThunarVfsPath *path = thunar_vfs_path_new (gtk_recent_info_get_uri (info), NULL);
local_uri = thunar_vfs_path_dup_string (path);
thunar_vfs_path_unref (path);
#else