[brasero] Silenced a few warnings



commit ddad6dc377afe5873dc9393f61f165ac249adf7f
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Mon May 10 22:18:24 2010 +0200

    Silenced a few warnings

 libbrasero-burn/brasero-burn-dialog.c |    6 +++---
 src/brasero-uri-container.c           |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn-dialog.c b/libbrasero-burn/brasero-burn-dialog.c
index 4a56c0d..26d9189 100644
--- a/libbrasero-burn/brasero-burn-dialog.c
+++ b/libbrasero-burn/brasero-burn-dialog.c
@@ -1050,7 +1050,7 @@ brasero_burn_dialog_disable_joliet_cb (BraseroBurn *burn,
 
 	priv = BRASERO_BURN_DIALOG_PRIVATE (dialog);
 
-	if (!gtk_widget_get_visible (dialog)) {
+	if (!gtk_widget_get_visible (GTK_WIDGET (dialog))) {
 		gtk_widget_show (GTK_WIDGET (dialog));
 		hide = TRUE;
 	}
@@ -1308,7 +1308,7 @@ brasero_burn_dialog_dummy_success_cb (BraseroBurn *burn,
 
 	priv = BRASERO_BURN_DIALOG_PRIVATE (dialog);
 
-	if (!gtk_widget_get_mapped (dialog)) {
+	if (!gtk_widget_get_mapped (GTK_WIDGET (dialog))) {
 		gtk_widget_show (GTK_WIDGET (dialog));
 		hide = TRUE;
 	} else
@@ -1828,7 +1828,7 @@ brasero_burn_dialog_notify_copy_finished (BraseroBurnDialog *dialog,
 
 	brasero_burn_dialog_update_session_info (dialog);
 
-	if (!gtk_widget_get_visible (dialog))
+	if (!gtk_widget_get_visible (GTK_WIDGET (dialog)))
 		gtk_widget_show (GTK_WIDGET (dialog));
 
 	main_message = g_strdup_printf (_("Copy #%i has been burned successfully."), priv->num_copies ++);
diff --git a/src/brasero-uri-container.c b/src/brasero-uri-container.c
index 848bb70..e41f8df 100644
--- a/src/brasero-uri-container.c
+++ b/src/brasero-uri-container.c
@@ -108,7 +108,7 @@ brasero_uri_container_get_boundaries (BraseroURIContainer *container,
 
 	g_return_val_if_fail (BRASERO_IS_URI_CONTAINER (container), FALSE);
 
-	if (!gtk_widget_get_mapped (container))
+	if (!gtk_widget_get_mapped (GTK_WIDGET (container)))
 		return FALSE;
 
 	iface = BRASERO_URI_CONTAINER_GET_IFACE (container);
@@ -125,7 +125,7 @@ brasero_uri_container_get_selected_uri (BraseroURIContainer *container)
 
 	g_return_val_if_fail (BRASERO_IS_URI_CONTAINER (container), NULL);
 
-	if (!gtk_widget_get_mapped (container))
+	if (!gtk_widget_get_mapped (GTK_WIDGET (container)))
 		return NULL;
 
 	iface = BRASERO_URI_CONTAINER_GET_IFACE (container);
@@ -142,7 +142,7 @@ brasero_uri_container_get_selected_uris (BraseroURIContainer *container)
 
 	g_return_val_if_fail (BRASERO_IS_URI_CONTAINER (container), NULL);
 
-	if (!gtk_widget_get_mapped (container))
+	if (!gtk_widget_get_mapped (GTK_WIDGET (container)))
 		return NULL;
 
 	iface = BRASERO_URI_CONTAINER_GET_IFACE (container);



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