}
ENameSelectorList *
-e_name_selector_list_new (void)
+e_name_selector_list_new (ESourceRegistry *registry)
{
- return g_object_new (E_TYPE_NAME_SELECTOR_LIST, NULL);
+ g_return_val_if_fail (E_IS_SOURCE_REGISTRY (registry), NULL);
+
+ return g_object_new (
+ E_TYPE_NAME_SELECTOR_LIST,
+ "registry", registry, NULL);
}
GType e_name_selector_list_get_type (void);
ENameSelectorList *
- e_name_selector_list_new (void);
+ e_name_selector_list_new (ESourceRegistry *registry);
void e_name_selector_list_expand_clicked
(ENameSelectorList *list);