diff --git a/CMakeLists.txt b/CMakeLists.txt index aff55e6..22cf14f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ SET (PROJECT_DESCRIPTION "LAview Desktop Application.") SET (MAJOR 1) SET (MINOR 1) -SET (PATCH 2) +SET (PATCH 3) LIST (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/backbone) diff --git a/src/PreferencesWindow.vala b/src/PreferencesWindow.vala index 976e4cb..21ddaab 100644 --- a/src/PreferencesWindow.vala +++ b/src/PreferencesWindow.vala @@ -35,22 +35,18 @@ namespace LAview.Desktop { } void fill_liststore_data () { - var data_plugins = AppCore.core.get_data_plugins (); - liststore_data.clear(); TreeIter iter = TreeIter(); - foreach (var p in data_plugins.entries) { + foreach (var p in AppCore.core.data_plugins.entries) { liststore_data.append (out iter); liststore_data.set (iter, 0, p.value.get_readable_name ()); } } void fill_liststore_protocols () { - var protocol_plugins = AppCore.core.get_protocol_plugins (); - liststore_protocols.clear(); TreeIter iter = TreeIter(); - foreach (var p in protocol_plugins.entries) { + foreach (var p in AppCore.core.protocol_plugins.entries) { liststore_protocols.append (out iter); liststore_protocols.set (iter, 0, p.value.get_readable_name ()); }