[epiphany] shell: Fix a crash when opening a new window using the app menu
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] shell: Fix a crash when opening a new window using the app menu
- Date: Mon, 10 Mar 2014 10:39:45 +0000 (UTC)
commit a63336d0b47597f7cac885e30940abfa426d7827
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Mon Mar 10 11:37:17 2014 +0100
shell: Fix a crash when opening a new window using the app menu
Activate the location entry of the newly created window, instead of the
current one that might be NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=725953
src/window-commands.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index 0d0d74e..472b07e 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -912,7 +912,7 @@ window_cmd_file_new_window (GtkAction *action,
embed = ephy_shell_new_tab (ephy_shell_get_default (),
new_window, NULL, 0);
ephy_web_view_load_homepage (ephy_embed_get_web_view (embed));
- ephy_window_activate_location (window);
+ ephy_window_activate_location (new_window);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]