summaryrefslogtreecommitdiff
path: root/src/gui/panels/history.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-07-04 20:55:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-07-04 20:55:30 (GMT)
commit59febc74741332fec4df71962fe9174d511df384 (patch)
treee8d8004506850ebb168ef7ba0aacdeeeaa0f749c /src/gui/panels/history.c
parent5958d9b25f806df73cd0634de2c9475eb6497e8c (diff)
Save all needed information into project files.
Diffstat (limited to 'src/gui/panels/history.c')
-rw-r--r--src/gui/panels/history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/panels/history.c b/src/gui/panels/history.c
index d6ca678..0b064f9 100644
--- a/src/gui/panels/history.c
+++ b/src/gui/panels/history.c
@@ -690,7 +690,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);
+ client = g_loaded_binary_get_client(panel->binary);
g_analyst_client_set_last_active(client, g_db_item_get_timestamp(item));
g_object_unref(G_OBJECT(client));
@@ -738,7 +738,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);
+ client = g_loaded_binary_get_client(panel->binary);
g_analyst_client_set_last_active(client, g_db_item_get_timestamp(item));
g_object_unref(G_OBJECT(client));