1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/x11-toolkits/gtk30/files/patch-gtk_xdgmime_xdgmimecache.h
Joe Marcus Clarke c33edafa15 Correct a potential symbol conflict between the xdgmime functions in gtk+
and those in gnome-vfs.  This problem would manifest itself by screwing
up MIME types for various files, and causing GTK+ filtered file choosers
not to display contents correctly.
2006-05-31 00:20:12 +00:00

26 lines
1.6 KiB
C

--- gtk/xdgmime/xdgmimecache.h.orig Mon May 29 20:04:24 2006
+++ gtk/xdgmime/xdgmimecache.h Mon May 29 20:11:42 2006
@@ -32,9 +32,19 @@
typedef struct _XdgMimeCache XdgMimeCache;
#ifdef XDG_PREFIX
-#define _xdg_mime_cache_new_from_file XDG_ENTRY(cache_new_from_file)
-#define _xdg_mime_cache_ref XDG_ENTRY(cache_ref)
-#define _xdg_mime_cache_unref XDG_ENTRY(cache_unref)
+#define _xdg_mime_cache_new_from_file XDG_ENTRY(cache_new_from_file)
+#define _xdg_mime_cache_ref XDG_ENTRY(cache_ref)
+#define _xdg_mime_cache_unref XDG_ENTRY(cache_unref)
+#define _xdg_mime_cache_get_mime_type_for_data XDG_ENTRY(cache_get_mime_type_for_data)
+#define _xdg_mime_cache_get_mime_type_for_file XDG_ENTRY(cache_get_mime_type_for_file)
+#define _xdg_mime_cache_get_mime_type_from_file_name XDG_ENTRY(cache_get_mime_type_from_file_name)
+#define _xdg_mime_cache_is_valid_mime_type XDG_ENTRY(cache_is_valid_mime_type)
+#define _xdg_mime_cache_mime_type_equal XDG_ENTRY(cache_mime_type_equal)
+#define _xdg_mime_cache_media_type_equal XDG_ENTRY(cache_media_type_equal)
+#define _xdg_mime_cache_mime_type_subclass XDG_ENTRY(cache_mime_type_subclass)
+#define _xdg_mime_cache_list_mime_parents XDG_ENTRY(cache_list_mime_parents)
+#define _xdg_mime_cache_unalias_mime_type XDG_ENTRY(cache_unalias_mime_type)
+#define _xdg_mime_cache_get_max_buffer_extents XDG_ENTRY(cache_get_max_buffer_extents)
#endif
extern XdgMimeCache **_caches;