]> git.sesse.net Git - vlc/blobdiff - plugins/gtk/gtk_interface.c
* Got rid of the DVD_DEVICE macro. We now use the dvd_device config option.
[vlc] / plugins / gtk / gtk_interface.c
index 3b7d99e73057f270121ebd3428f7843bfdf20b86..6b1eb8242a199229f378ea60836126f2d73ca006 100644 (file)
@@ -1593,7 +1593,7 @@ create_intf_disc (void)
                             (GtkDestroyNotify) gtk_widget_unref);
   gtk_widget_show (disc_name);
   gtk_box_pack_start (GTK_BOX (hbox2), disc_name, TRUE, TRUE, 0);
-  gtk_entry_set_text (GTK_ENTRY (disc_name), DVD_DEVICE);
+  gtk_entry_set_text (GTK_ENTRY (disc_name), config_GetPszVariable( "dvd_device" ));
 
   dialog_action_area1 = GTK_DIALOG (intf_disc)->action_area;
   gtk_object_set_data (GTK_OBJECT (intf_disc), "dialog_action_area1", dialog_action_area1);