Index: profiles/audio-profile-choose.c
===================================================================
--- profiles/audio-profile-choose.c	(revision 3803)
+++ profiles/audio-profile-choose.c	(working copy)
@@ -28,8 +28,7 @@
 #include "audio-profile.h"
 #include <gtk/gtk.h>
 #include <glade/glade-xml.h>
-#include <libgnomevfs/gnome-vfs-mime-handlers.h>
-#include <libgnomevfs/gnome-vfs-mime.h>
+#include <gio/gio.h>
 
 enum
 {
@@ -57,19 +56,21 @@
   while (profiles) {
     GMAudioProfile *profile = profiles->data;
     char *profile_name, *temp_file_name;
-    const char* mime_type;
+    char* mime_type_description;
 
     temp_file_name = g_strdup_printf (".%s", gm_audio_profile_get_extension (profile));
-    mime_type = gnome_vfs_mime_type_from_name (temp_file_name);
+    mime_type_description = g_content_type_get_description (temp_file_name);
     g_free (temp_file_name);
 
-    profile_name = g_strdup_printf (gettext ("%s (%s)"), gm_audio_profile_get_name (profile), gnome_vfs_mime_get_description (mime_type));
+    profile_name = g_strdup_printf (gettext ("%s (%s)"), gm_audio_profile_get_name (profile), mime_type_description);
     gtk_list_store_append (list_store, &iter);
     gtk_list_store_set (list_store, &iter,
                         NAME_COLUMN, profile_name,
                         ID_COLUMN, gm_audio_profile_get_id (profile),
                         -1);
     profiles = profiles->next;
+
+    g_free(mime_type_description);
     g_free (profile_name);
   }
   g_list_free (orig);
Index: configure.in
===================================================================
--- configure.in	(revision 3803)
+++ configure.in	(working copy)
@@ -129,7 +129,7 @@
 PROGRAMS_GMP=""
 AC_ARG_ENABLE([profiles],AC_HELP_STRING([--enable-profiles], [ enable gnome media profiles  ]), ,enable_profiles=yes)
 if test "x$enable_profiles" == "xyes"; then
-  PKG_CHECK_MODULES(GMP, gstreamer-0.10 gconf-2.0 libglade-2.0 libgnomeui-2.0 gnome-vfs-module-2.0,
+  PKG_CHECK_MODULES(GMP, gstreamer-0.10 gconf-2.0 libglade-2.0 libgnomeui-2.0 gio-2.0,
                   PROGRAMS_GMP="profiles", PROGRAMS_GMP="")
 fi
 AC_SUBST(GMP_CFLAGS)
