[epiphany] Fix a couple of compiler warnings spotted by the latest gnome-common flags
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix a couple of compiler warnings spotted by the latest gnome-common flags
- Date: Sat, 1 Dec 2012 10:44:45 +0000 (UTC)
commit 2de3c05a1976ca1c34a356a9416c674212313108
Author: Xan Lopez <xan igalia com>
Date: Sat Dec 1 11:44:15 2012 +0100
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 f29c21f..85f0e30 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 ca1fbec..86b5e0b 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]