mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-12 15:47:35 +00:00
parent
dc7c676df8
commit
d67e690f33
1 changed files with 7 additions and 4 deletions
|
@ -209,12 +209,15 @@ provider_changed_cb (CallsNewCallBox *self)
|
||||||
g_assert (CALLS_IS_NEW_CALL_BOX (self));
|
g_assert (CALLS_IS_NEW_CALL_BOX (self));
|
||||||
|
|
||||||
origins = calls_manager_get_origins (calls_manager_get_default ());
|
origins = calls_manager_get_origins (calls_manager_get_default ());
|
||||||
|
if (origins)
|
||||||
|
{
|
||||||
g_signal_connect_object (origins, "items-changed",
|
g_signal_connect_object (origins, "items-changed",
|
||||||
G_CALLBACK (origin_count_changed_cb), self,
|
G_CALLBACK (origin_count_changed_cb), self,
|
||||||
G_CONNECT_SWAPPED);
|
G_CONNECT_SWAPPED);
|
||||||
|
|
||||||
origin_count_changed_cb (self);
|
origin_count_changed_cb (self);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
calls_new_call_box_init (CallsNewCallBox *self)
|
calls_new_call_box_init (CallsNewCallBox *self)
|
||||||
|
|
Loading…
Reference in a new issue