$NetBSD: patch-aj,v 1.1.1.1 2009/01/21 14:15:15 jmcneill Exp $ --- gtk/src/ghb-dvd.c.orig 2009-01-20 21:34:27.000000000 -0500 +++ gtk/src/ghb-dvd.c 2009-01-20 21:34:56.000000000 -0500 @@ -315,7 +315,6 @@ ghb_dvd_volname(const gchar *device) } #endif -#if defined(__linux__) gchar* ghb_resolve_symlink(const gchar *name) { @@ -359,12 +358,10 @@ ghb_resolve_symlink(const gchar *name) g_object_unref(gfile); return file; } -#endif void ghb_dvd_set_current(const gchar *name, signal_user_data_t *ud) { -#if defined(__linux__) GFile *gfile; GFileInfo *info; gchar *resolved = ghb_resolve_symlink(name); @@ -394,12 +391,4 @@ ghb_dvd_set_current(const gchar *name, s g_free(resolved); } g_object_unref(gfile); -#else - if (ud->current_dvd_device != NULL) - { - g_free(ud->current_dvd_device); - ud->current_dvd_device = NULL; - } - ud->current_dvd_device = g_strdup(name);; -#endif }