[epiphany] ephy-window: fix compiler warning



commit 09152b62fc6569720b583d4b9e97877dcfecfe24
Author: Xan Lopez <xan igalia com>
Date:   Sat Jan 5 13:57:32 2013 +0100

    ephy-window: fix compiler warning

 src/ephy-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 4b45989..3fcd3ee 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3367,14 +3367,14 @@ download_added_cb (EphyEmbedShell *shell,
 		   gpointer data)
 {
 	EphyWindow *window = EPHY_WINDOW (data);
-	GtkWidget *download_window;
+	GtkWindow *download_window;
 	GtkWidget *widget;
 
 	download_window = ephy_download_get_window (download);
 	widget = ephy_download_get_widget (download);
 
 	if (widget == NULL &&
-	    (download_window == NULL || download_window == GTK_WIDGET (window)))
+	    (download_window == NULL || download_window == GTK_WINDOW (window)))
 	{
 		widget = ephy_download_widget_new (download);
 		gtk_box_pack_start (GTK_BOX (window->priv->downloads_box),



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