summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2010-06-09 19:52:48 -0400
committerJason Woodward2010-06-09 19:52:48 -0400
commit315398c2da277b1b12fc7769033d576a4c36b16f (patch)
tree710b4ec69451a0d482b4b26b4f2c788e21da679b
parent88dfdc2ce95b19106e8eab6b92fbb0c8bf18b31e (diff)
downloadgslapt-315398c2da277b1b12fc7769033d576a4c36b16f.tar.gz
account for updated slapt_is_required_by
-rw-r--r--ChangeLog1
-rw-r--r--src/callbacks.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 48148db..b2a7581 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
0.5.3c June 09, 2010
+ * account for updated slapt_is_required_by
* updated for slapt_list_t api update
* added reinstall notification
diff --git a/src/callbacks.c b/src/callbacks.c
index 850d7fb..46483c4 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -477,7 +477,7 @@ void add_pkg_for_removal (GtkWidget *gslapt, gpointer user_data)
gtk_tree_model_filter_convert_iter_to_child_iter(GTK_TREE_MODEL_FILTER(filter_model),&actual_iter,&filter_iter);
model = GTK_TREE_MODEL(gtk_tree_model_filter_get_model(GTK_TREE_MODEL_FILTER(filter_model)));
- deps = slapt_is_required_by(global_config, all, pkg);
+ deps = slapt_is_required_by(global_config, all, installed, trans->install_pkgs, trans->remove_pkgs, pkg);
slapt_add_remove_to_transaction(trans,pkg);
set_iter_for_remove(model, &actual_iter, pkg);