[totem] Fix compile-time warnings



commit eb6a913257d852a495a3005aab6748680ee1d2bd
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jun 15 11:10:27 2010 +0100

    Fix compile-time warnings

 src/totem-object.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 4b19c46..31a2d41 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -1523,7 +1523,7 @@ totem_open_location_response_cb (GtkDialog *dialog, gint response, Totem *totem)
 	char *uri;
 
 	if (response != GTK_RESPONSE_OK) {
-		gtk_widget_destroy (totem->open_location);
+		gtk_widget_destroy (GTK_WIDGET (totem->open_location));
 		return;
 	}
 
@@ -1548,7 +1548,7 @@ totem_open_location_response_cb (GtkDialog *dialog, gint response, Totem *totem)
 	}
  	g_free (uri);
 
-	gtk_widget_destroy (totem->open_location);
+	gtk_widget_destroy (GTK_WIDGET (totem->open_location));
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]