]> git.sesse.net Git - vlc/blobdiff - plugins/gtk/gtk_preferences.c
* Fixed the BeOS compile typo.
[vlc] / plugins / gtk / gtk_preferences.c
index c148ce6178f48033e7ff59ceec9afceeac3f8b06..647c907b95626ab3622526235cef7e07b3102400 100644 (file)
@@ -2,7 +2,7 @@
  * gtk_control.c : functions to handle stream control buttons.
  *****************************************************************************
  * Copyright (C) 2000, 2001 VideoLAN
- * $Id: gtk_preferences.c,v 1.2 2001/05/15 14:49:48 stef Exp $
+ * $Id: gtk_preferences.c,v 1.5 2001/05/30 17:03:12 sam Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Stéphane Borel <stef@via.ecp.fr>
@@ -22,9 +22,6 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
-#define MODULE_NAME gtk
-#include "modules_inner.h"
-
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
@@ -56,6 +53,8 @@
 
 #include "main.h"
 
+#include "modules_export.h"
+
 /****************************************************************************
  * GtkPreferencesShow: display interface window after initialization
  * if necessary
@@ -111,7 +110,7 @@ gboolean GtkPreferencesShow( GtkWidget       *widget,
                           "preferences_network_port_spinbutton" );
     
         /* Broadcast address */
-        ASSIGN_PSZ_ENTRY( INPUT_BCAST_ADRR_VAR, INPUT_BCAST_ADDR_DEFAULT,
+        ASSIGN_PSZ_ENTRY( INPUT_BCAST_ADDR_VAR, INPUT_BCAST_ADDR_DEFAULT,
                           "preferences_network_broadcast_entry" );
     
         /* Broadcast stream by default ? */
@@ -236,7 +235,7 @@ void GtkPreferencesApply( GtkButton * button, gpointer user_data )
     ASSIGN_INT_VALUE( INPUT_PORT_VAR, "preferences_network_port_spinbutton" );
 
     /* Broadcast address */
-    ASSIGN_PSZ_ENTRY( INPUT_BCAST_ADRR_VAR,
+    ASSIGN_PSZ_ENTRY( INPUT_BCAST_ADDR_VAR,
                       "preferences_network_broadcast_entry" );
 
     /* Broadcast stream by default ? */