]> git.sesse.net Git - vlc/blobdiff - modules/gui/pda/pda_support.c
configure: Set the proper werror variable when creating vlc-config.in
[vlc] / modules / gui / pda / pda_support.c
index 13d768099d95398a0db5934b14b01bb162b0d72b..99fcb57eaa2d47b406659ae1109ccbd81d7f2991 100644 (file)
@@ -10,7 +10,6 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <string.h>
-#include <stdio.h>
 
 #include <gtk/gtk.h>
 
@@ -29,7 +28,7 @@ lookup_widget                          (GtkWidget       *widget,
       else
         parent = widget->parent;
       if (!parent)
-        parent = g_object_get_data (G_OBJECT (widget), "GladeParentKey");
+        parent = (GtkWidget*) g_object_get_data (G_OBJECT (widget), "GladeParentKey");
       if (parent == NULL)
         break;
       widget = parent;
@@ -77,6 +76,7 @@ GtkWidget*
 create_pixmap                          (GtkWidget       *widget,
                                         const gchar     *filename)
 {
+  (void) widget;
   gchar *pathname = NULL;
   GtkWidget *pixmap;