summaryrefslogtreecommitdiff
path: root/src/gui/panels
diff options
context:
space:
mode:
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));