aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup-commands.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-20 20:19:44 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-20 20:19:44 +0800
commit5b80fbd659cd964a59bd8a07ebf09616569608c3 (patch)
treea23bdcbb1f90a1c31fed2a394a00b67e97e9df6a /src/popup-commands.c
parent2d8717b4bab5d9ee5431078b9a3a9288bc15e487 (diff)
downloadgsoc2013-epiphany-5b80fbd659cd964a59bd8a07ebf09616569608c3.tar.gz
gsoc2013-epiphany-5b80fbd659cd964a59bd8a07ebf09616569608c3.tar.zst
gsoc2013-epiphany-5b80fbd659cd964a59bd8a07ebf09616569608c3.zip
Rewrite the url typed by user overwrite logic to fix bugs.
2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/EphyWrapper.cpp: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (location_focus_out_cb), (ephy_location_entry_init), (insert_text_cb), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_autocompletion_window_url_selected_cb), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_editable_changed_cb): * lib/widgets/ephy-location-entry.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_set_link_message), (ephy_tab_set_window), (ephy_tab_address_cb), (ensure_address), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_location): * src/ephy-tab.h: * src/ephy-window.c: (ephy_window_notebook_switch_page_cb): * src/popup-commands.c: (get_event_info), (popup_cmd_copy_link_address): * src/toolbar.c: (get_location_entry), (location_user_changed_cb), (toolbar_set_window), (toolbar_activate_location), (toolbar_set_location), (toolbar_get_location), (toolbar_clear_location_history): * src/toolbar.h: Rewrite the url typed by user overwrite logic to fix bugs.
Diffstat (limited to 'src/popup-commands.c')
-rw-r--r--src/popup-commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 490982351..1b2c4d68a 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -32,7 +32,8 @@ get_event_info (EphyWindow *window)
{
EphyEmbedEvent *info;
- info = EPHY_EMBED_EVENT (g_object_get_data (window, "context_event"));
+ info = EPHY_EMBED_EVENT (g_object_get_data
+ (G_OBJECT (window), "context_event"));
g_return_val_if_fail (info != NULL, NULL);
return info;
@@ -228,7 +229,6 @@ popup_cmd_copy_link_address (EggAction *action,
EphyEmbedEvent *event;
const char *address;
const GValue *value;
- EphyEmbed *embed;
event = get_event_info (window);
g_return_if_fail (IS_EPHY_EMBED_EVENT (event));