summaryrefslogtreecommitdiffstats
path: root/src/profile-manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile-manager.cpp')
-rw-r--r--src/profile-manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profile-manager.cpp b/src/profile-manager.cpp
index 1cd965e39..d557fdd39 100644
--- a/src/profile-manager.cpp
+++ b/src/profile-manager.cpp
@@ -18,7 +18,7 @@ ProfileManager::ProfileManager(SPDocument *document) :
_doc(document),
_knownProfiles()
{
- _resource_connection = sp_document_resources_changed_connect( _doc, "iccprofile", sigc::mem_fun(*this, &ProfileManager::_resourcesChanged) );
+ _resource_connection = _doc->resources_changed_connect( "iccprofile", sigc::mem_fun(*this, &ProfileManager::_resourcesChanged) );
}
ProfileManager::~ProfileManager()
@@ -29,7 +29,7 @@ void ProfileManager::_resourcesChanged()
{
std::vector<SPObject*> newList;
if (_doc) {
- const GSList *current = sp_document_get_resource_list( _doc, "iccprofile" );
+ const GSList *current = _doc->get_resource_list( "iccprofile" );
while ( current ) {
newList.push_back(SP_OBJECT(current->data));
current = g_slist_next(current);