diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-20 07:58:02 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-20 07:58:02 +0800 |
commit | 38f4f77d16ff6ee02751eb91b9870108f639e21a (patch) | |
tree | a6558eafb1dd620719757c255f520d181440b4a9 /src/ephy-tab.c | |
parent | 37a1f2f5e2544db814a79631d4f4b958f6dba9a8 (diff) | |
download | gsoc2013-epiphany-38f4f77d16ff6ee02751eb91b9870108f639e21a.tar gsoc2013-epiphany-38f4f77d16ff6ee02751eb91b9870108f639e21a.tar.gz gsoc2013-epiphany-38f4f77d16ff6ee02751eb91b9870108f639e21a.tar.bz2 gsoc2013-epiphany-38f4f77d16ff6ee02751eb91b9870108f639e21a.tar.lz gsoc2013-epiphany-38f4f77d16ff6ee02751eb91b9870108f639e21a.tar.xz gsoc2013-epiphany-38f4f77d16ff6ee02751eb91b9870108f639e21a.tar.zst gsoc2013-epiphany-38f4f77d16ff6ee02751eb91b9870108f639e21a.zip |
Get rid of get/set _event, reformat the header.
2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org>
* src/ephy-tab.c: (ephy_tab_finalize), (ephy_tab_init):
* src/ephy-tab.h:
Get rid of get/set _event, reformat the header.
* src/pdm-dialog.c:
Fix compilation warning.
* src/ephy-window.c: (popup_destroy_cb), (show_embed_popup):
* src/popup-commands.c: (get_event_info):
Less invasive way to access the event info from the callbacks.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r-- | src/ephy-tab.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c index 5aab758b2..35226b583 100644 --- a/src/ephy-tab.c +++ b/src/ephy-tab.c @@ -51,7 +51,6 @@ struct EphyTabPrivate { EphyEmbed *embed; EphyWindow *window; - EphyEmbedEvent *event; char *status_message; char *link_message; char *icon_address; @@ -367,11 +366,6 @@ ephy_tab_finalize (GObject *object) g_idle_remove_by_data (tab->priv->embed); - if (tab->priv->event) - { - g_object_unref (tab->priv->event); - } - if (tab->priv->action) { g_object_unref (tab->priv->action); @@ -469,14 +463,6 @@ ephy_tab_get_window (EphyTab *tab) return tab->priv->window; } -EphyEmbedEvent * -ephy_tab_get_event (EphyTab *tab) -{ - g_return_val_if_fail (IS_EPHY_TAB (tab), NULL); - - return tab->priv->event; -} - void ephy_tab_get_size (EphyTab *tab, int *width, int *height) { @@ -876,15 +862,6 @@ ephy_tab_size_to_cb (EphyEmbed *embed, gint width, gint height, g_list_free (tabs); } -void -ephy_tab_set_event (EphyTab *tab, - EphyEmbedEvent *event) -{ - if (tab->priv->event) g_object_unref (tab->priv->event); - g_object_ref (event); - tab->priv->event = event; -} - static gint ephy_tab_dom_mouse_click_cb (EphyEmbed *embed, EphyEmbedEvent *event, @@ -951,7 +928,6 @@ ephy_tab_init (EphyTab *tab) tab->priv = g_new0 (EphyTabPrivate, 1); tab->priv->window = NULL; - tab->priv->event = NULL; tab->priv->status_message = NULL; tab->priv->link_message = NULL; tab->priv->total_requests = 0; |