[epiphany] EphyHistoryWindow: Use liststore directly.



commit 6a56528551ddad29eaa4ade83842de31fe7261c3
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Oct 28 05:20:21 2015 +0100

    EphyHistoryWindow: Use liststore directly.

 src/ephy-history-window.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 87c7807..18a5042 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -94,7 +94,6 @@ typedef enum
 static gboolean
 add_urls_source (EphyHistoryWindow *self)
 {
-       GtkListStore *store = GTK_LIST_STORE (self->priv->liststore);
        EphyHistoryURL *url;
        GTimer *timer;
        GList *element;
@@ -111,7 +110,7 @@ add_urls_source (EphyHistoryWindow *self)
        do {
                element = self->priv->urls;
                url = element->data;
-               gtk_list_store_insert_with_values (store,
+               gtk_list_store_insert_with_values (GTK_LIST_STORE (self->priv->liststore),
                                                   NULL, G_MAXINT,
                                                   COLUMN_DATE, url->last_visit_time,
                                                   COLUMN_NAME, url->title,


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