[totem/gnome-2-32] Fix compile-time warnings



commit 8b07154104298a335c404b20f59ad10b0e87a028
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 263151a..29c2127 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -1492,7 +1492,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;
 	}
 
@@ -1517,7 +1517,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]