Commit 1de7fc8e authored by Gildas Bazin's avatar Gildas Bazin

* fixed ./plugins/gtk/gtk_callbacks.c to use the "dvd_device" config option
  instead of the now inexistant DVD_DEVICE macro.
parent 981c5cca
......@@ -4,6 +4,7 @@
HEAD
* fixed ./plugins/gtk/gtk_callbacks.c to use the dvd_device config option.
* ./po/ja.po: added Japanese translation from Fumio Nakayama
<endymion@ca2.so-net.ne.jp>.
* ./plugins/gtk/gtk_callbacks.c: fixed disc ejection code.
......
......@@ -2,7 +2,7 @@
* gtk_callbacks.c : Callbacks for the Gtk+ plugin.
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: gtk_callbacks.c,v 1.35 2002/04/03 02:43:14 sam Exp $
* $Id: gtk_callbacks.c,v 1.36 2002/04/03 06:19:43 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Stphane Borel <stef@via.ecp.fr>
......@@ -500,7 +500,7 @@ gboolean GtkDiscEject ( GtkWidget *widget, GdkEventButton *event,
{
case '\0':
case '@':
psz_device = strdup( DVD_DEVICE );
psz_device = config_GetPszVariable( "dvd_device" );
break;
default:
/* Omit the first 4 characters */
......@@ -514,7 +514,7 @@ gboolean GtkDiscEject ( GtkWidget *widget, GdkEventButton *event,
{
case '\0':
case '@':
psz_device = strdup( VCD_DEVICE );
psz_device = config_GetPszVariable( "vcd_device" );
break;
default:
/* Omit the first 4 characters */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment