[epiphany] EphyHistoryWindow: Remove unused function.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] EphyHistoryWindow: Remove unused function.
- Date: Tue, 3 Nov 2015 07:09:41 +0000 (UTC)
commit 7ba5e0533ba3b5dc8fec2a9d96f048d20605f371
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun Nov 1 04:24:53 2015 +0100
EphyHistoryWindow: Remove unused function.
src/ephy-history-window.c | 22 ----------------------
src/ephy-history-window.h | 3 ---
2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index c9831e6..ad5352a 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -772,28 +772,6 @@ convert_location_data_func (GtkTreeViewColumn *column,
g_free (unescaped_url);
}
-void
-ephy_history_window_set_parent (EphyHistoryWindow *ebe,
- GtkWidget *window)
-{
- GtkWidget **widget;
- if (ebe->priv->window)
- {
- widget = &ebe->priv->window;
- g_object_remove_weak_pointer
- (G_OBJECT(ebe->priv->window),
- (gpointer *)widget);
- }
-
- ebe->priv->window = window;
- widget = &ebe->priv->window;
-
- g_object_add_weak_pointer
- (G_OBJECT(ebe->priv->window),
- (gpointer *)widget);
-
-}
-
GtkWidget *
ephy_history_window_new (EphyHistoryService *history_service)
{
diff --git a/src/ephy-history-window.h b/src/ephy-history-window.h
index c153073..891eb84 100644
--- a/src/ephy-history-window.h
+++ b/src/ephy-history-window.h
@@ -56,9 +56,6 @@ GType ephy_history_window_get_type (void);
GtkWidget *ephy_history_window_new (EphyHistoryService *history_service);
-void ephy_history_window_set_parent (EphyHistoryWindow *ehw,
- GtkWidget *window);
-
G_END_DECLS
#endif /* EPHY_HISTORY_WINDOW_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]