summaryrefslogtreecommitdiff
path: root/src/gui/panels
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-08-29 21:43:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-08-29 21:43:47 (GMT)
commitfa40856e942a7e1bd1cb2729645182c1fa717468 (patch)
tree954db169d2b734e661d904e502cd1c803f51c6ea /src/gui/panels
parent7f973e015eb59b626edc584a19a1ad3ffddf4867 (diff)
Defined a new way to launch updates share servers.
Diffstat (limited to 'src/gui/panels')
-rw-r--r--src/gui/panels/history.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/panels/history.c b/src/gui/panels/history.c
index 4b694c7..4383ed6 100644
--- a/src/gui/panels/history.c
+++ b/src/gui/panels/history.c
@@ -599,7 +599,7 @@ static void do_history_undo(GtkButton *button, GHistoryPanel *panel)
GtkTreeModel *model; /* Modèle de gestion de données*/
GtkTreeIter iter; /* Pointeur vers la ligne visée*/
GDbItem *item; /* Elément de collection */
- GDbClient *client; /* Connexion vers la base */
+ GHubClient *client; /* Connexion vers la base */
builder = G_PANEL_ITEM(panel)->builder;
@@ -615,7 +615,7 @@ static void do_history_undo(GtkButton *button, GHistoryPanel *panel)
gtk_tree_model_get(model, &iter, HTC_ITEM, &item, -1);
client = g_loaded_binary_get_db_client(panel->binary);
- g_db_client_set_last_active(client, g_db_item_get_timestamp(item));
+ g_hub_client_set_last_active(client, g_db_item_get_timestamp(item));
g_object_unref(G_OBJECT(client));
g_object_unref(G_OBJECT(item));
@@ -646,7 +646,7 @@ static void do_history_redo(GtkButton *button, GHistoryPanel *panel)
GtkTreeModel *model; /* Modèle de gestion de données*/
GtkTreeIter iter; /* Pointeur vers la ligne visée*/
GDbItem *item; /* Elément de collection */
- GDbClient *client; /* Connexion vers la base */
+ GHubClient *client; /* Connexion vers la base */
builder = G_PANEL_ITEM(panel)->builder;
@@ -659,7 +659,7 @@ static void do_history_redo(GtkButton *button, GHistoryPanel *panel)
gtk_tree_model_get(model, &iter, HTC_ITEM, &item, -1);
client = g_loaded_binary_get_db_client(panel->binary);
- g_db_client_set_last_active(client, g_db_item_get_timestamp(item));
+ g_hub_client_set_last_active(client, g_db_item_get_timestamp(item));
g_object_unref(G_OBJECT(client));
g_object_unref(G_OBJECT(item));