diff options
author | Vincent Richard <[email protected]> | 2013-10-20 11:24:34 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-10-20 11:24:34 +0000 |
commit | 456907595198a08d085368cc985a11a6de6c4047 (patch) | |
tree | ae73ac52bfd8ca6d4bf474941632d3558937abd2 /examples/viewer/viewer.cpp | |
parent | Fixed group parsing in mailboxList. (diff) | |
download | vmime-456907595198a08d085368cc985a11a6de6c4047.tar.gz vmime-456907595198a08d085368cc985a11a6de6c4047.zip |
Fixed build of samples (now use CMake).
Diffstat (limited to '')
-rw-r--r-- | examples/viewer/viewer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/viewer/viewer.cpp b/examples/viewer/viewer.cpp index c684c140..77303fa6 100644 --- a/examples/viewer/viewer.cpp +++ b/examples/viewer/viewer.cpp @@ -52,14 +52,14 @@ vmime::ref <vmime::message> currentMessage = NULL; -void insertRowInModel(GtkTreeStore* model, vmime::ref <const vmime::component> comp, GtkTreeIter* parent = NULL) +void insertRowInModel(GtkTreeStore* model, vmime::ref <vmime::component> comp, GtkTreeIter* parent = NULL) { GtkTreeIter iter; gtk_tree_store_append(model, &iter, parent); gtk_tree_store_set(model, &iter, 0, typeid(*comp).name(), 1, comp.get(), -1); - const std::vector <vmime::ref <const vmime::component> > children = comp->getChildComponents(); + const std::vector <vmime::ref <vmime::component> > children = comp->getChildComponents(); for (int i = 0 ; i < children.size() ; ++i) { |