[epiphany] ephy-shell: Placate -Wincompatible-pointer-type



commit 6f844f4597ca9c98be07cce88a1fd1dc42f1478c
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Fri Nov 20 16:17:47 2015 -0600

    ephy-shell: Placate -Wincompatible-pointer-type

 src/ephy-shell.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 0d28a16..9702d81 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -942,7 +942,7 @@ open_uris_data_new (EphyShell *shell,
     data->window = ephy_window_new ();
   } else if (startup_flags & EPHY_STARTUP_NEW_TAB || (new_windows_in_tabs && have_uris)) {
     data->flags |= EPHY_NEW_TAB_JUMP;
-    data->window = gtk_application_get_active_window (GTK_APPLICATION (shell));
+    data->window = EPHY_WINDOW (gtk_application_get_active_window (GTK_APPLICATION (shell)));
     data->reuse_empty_tab = TRUE;
   } else if (!have_uris) {
     data->window = ephy_window_new ();


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