From a35ce8bc1a1483d95e957e3c4be245884d4f879a Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Tue, 11 Dec 2012 09:12:38 -0500 Subject: e-shell: fix compiler warning --- src/ephy-shell.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ephy-shell.c') diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 9800038cb..3c4cbfc1b 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -1077,8 +1077,8 @@ ephy_shell_get_main_window (EphyShell *shell) for (iter = windows; iter != NULL; iter = iter->next) { EphyWindow *candidate = EPHY_WINDOW (iter->data); - GtkWidget *cur_notebook; - GtkWidget *cand_notebook; + GtkNotebook *cur_notebook; + GtkNotebook *cand_notebook; if (!ephy_window_is_on_current_workspace (candidate)) continue; @@ -1088,8 +1088,8 @@ ephy_shell_get_main_window (EphyShell *shell) continue; } - cur_notebook = ephy_window_get_notebook (window); - cand_notebook = ephy_window_get_notebook (candidate); + cur_notebook = GTK_NOTEBOOK (ephy_window_get_notebook (window)); + cand_notebook = GTK_NOTEBOOK (ephy_window_get_notebook (candidate)); if (gtk_notebook_get_n_pages (cand_notebook) > gtk_notebook_get_n_pages (cur_notebook)) window = candidate; } -- cgit v1.2.3