CallHistory: Don't pass the CallsNewCallBox to the CallsHistory

Since we now have a "dial" action we can uses it also in the History,
this way we don't need to pass arond the NewCallBox.
This commit is contained in:
Julian Sparber
2020-03-02 13:40:31 +01:00
committed by Julian Sparber
parent 62a327a0ae
commit f1f848c5f3
5 changed files with 6 additions and 31 deletions

View File

@@ -233,8 +233,7 @@ constructed (GObject *object)
// Add call records
history = calls_history_box_new (self->record_store,
self->contacts,
self->new_call);
self->contacts);
widget = GTK_WIDGET (history);
gtk_stack_add_titled (self->main_stack, widget,
"recent", _("Recent"));