mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-23 12:05:33 +00:00
emergency-calls-manager: Add missing argument for on_origins_changed handler
The "removed" argument of the models "items-changed" signal was forgotten making it misbehave when origins do get removed: GLib-GObject[1287799]: WARNING: invalid (NULL) pointer instance GLib-GObject[1287799]:CRITICAL: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
This commit is contained in:
parent
9a52c57ffe
commit
0de7599567
1 changed files with 4 additions and 1 deletions
|
@ -44,7 +44,10 @@ on_emergency_numbers_changed (CallsEmergencyCallsManger *self)
|
|||
|
||||
|
||||
static void
|
||||
on_origins_changed (CallsEmergencyCallsManger *self, guint position, guint added)
|
||||
on_origins_changed (CallsEmergencyCallsManger *self,
|
||||
guint position,
|
||||
guint removed,
|
||||
guint added)
|
||||
{
|
||||
g_assert (CALLS_IS_EMERGENCY_CALLS_MANAGER (self));
|
||||
|
||||
|
|
Loading…
Reference in a new issue