aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-12-01 18:44:15 +0800
committerXan Lopez <xan@igalia.com>2012-12-01 18:44:15 +0800
commit2de3c05a1976ca1c34a356a9416c674212313108 (patch)
treee0b7cac33fd7b7e107b87bf943495b1967df2f1b /src
parent2630b32fbb9b707f765f3496e13e7967437fe2e2 (diff)
downloadgsoc2013-epiphany-2de3c05a1976ca1c34a356a9416c674212313108.tar
gsoc2013-epiphany-2de3c05a1976ca1c34a356a9416c674212313108.tar.gz
gsoc2013-epiphany-2de3c05a1976ca1c34a356a9416c674212313108.tar.bz2
gsoc2013-epiphany-2de3c05a1976ca1c34a356a9416c674212313108.tar.lz
gsoc2013-epiphany-2de3c05a1976ca1c34a356a9416c674212313108.tar.xz
gsoc2013-epiphany-2de3c05a1976ca1c34a356a9416c674212313108.tar.zst
gsoc2013-epiphany-2de3c05a1976ca1c34a356a9416c674212313108.zip
Fix a couple of compiler warnings spotted by the latest gnome-common flags
Diffstat (limited to 'src')
-rw-r--r--src/ephy-session.c2
-rw-r--r--src/ephy-shell.c2
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));