diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-05-29 10:13:16 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-05-29 10:13:16 (GMT) |
commit | 3c493d4cd2c9e91a2cee08c80e3629ea75788605 (patch) | |
tree | 6d9483d4c8e2c3914ca47bb9e17d31201d266f30 /src/gui/panels | |
parent | ab7c898c87a1f235af6966941823cab502c550f6 (diff) |
Define roles for allowed connections to servers.
Diffstat (limited to 'src/gui/panels')
-rw-r--r-- | src/gui/panels/history.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/panels/history.c b/src/gui/panels/history.c index 79be0dd..d6ca678 100644 --- a/src/gui/panels/history.c +++ b/src/gui/panels/history.c @@ -676,7 +676,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 */ - GHubClient *client; /* Connexion vers la base */ + GAnalystClient *client; /* Connexion vers la base */ builder = gtk_built_named_widget_get_builder(GTK_BUILT_NAMED_WIDGET(G_PANEL_ITEM(panel)->widget)); @@ -691,7 +691,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_client(panel->binary, true); - g_hub_client_set_last_active(client, g_db_item_get_timestamp(item)); + g_analyst_client_set_last_active(client, g_db_item_get_timestamp(item)); g_object_unref(G_OBJECT(client)); g_object_unref(G_OBJECT(item)); @@ -726,7 +726,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 */ - GHubClient *client; /* Connexion vers la base */ + GAnalystClient *client; /* Connexion vers la base */ builder = gtk_built_named_widget_get_builder(GTK_BUILT_NAMED_WIDGET(G_PANEL_ITEM(panel)->widget)); @@ -739,7 +739,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_client(panel->binary, true); - g_hub_client_set_last_active(client, g_db_item_get_timestamp(item)); + g_analyst_client_set_last_active(client, g_db_item_get_timestamp(item)); g_object_unref(G_OBJECT(client)); g_object_unref(G_OBJECT(item)); |