From 2de3c05a1976ca1c34a356a9416c674212313108 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sat, 1 Dec 2012 11:44:15 +0100 Subject: Fix a couple of compiler warnings spotted by the latest gnome-common flags --- src/ephy-session.c | 2 +- src/ephy-shell.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ephy-session.c b/src/ephy-session.c index f29c21f1e..85f0e30b7 100644 --- a/src/ephy-session.c +++ b/src/ephy-session.c @@ -291,7 +291,7 @@ session_command_open_uris (EphySession *session, g_object_ref (shell); - window = gtk_application_get_active_window (GTK_APPLICATION (shell)); + window = EPHY_WINDOW (gtk_application_get_active_window (GTK_APPLICATION (shell))); new_windows_in_tabs = g_settings_get_boolean (EPHY_SETTINGS_MAIN, EPHY_PREFS_NEW_WINDOWS_IN_TABS); diff --git a/src/ephy-shell.c b/src/ephy-shell.c index ca1fbec20..86b5e0ba0 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -205,7 +205,7 @@ show_about (GSimpleAction *action, GVariant *parameter, gpointer user_data) { - EphyWindow *window; + GtkWindow *window; window = gtk_application_get_active_window (GTK_APPLICATION (ephy_shell)); -- cgit v1.2.3