diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-09-26 23:05:36 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-09-26 23:05:36 +0000 |
| commit | 5fddcdb1e078c2cb06c3ccef536894d722664e80 (patch) | |
| tree | e40364556dae91b607e8c7d354266985fc8c7070 /src/ui | |
| parent | update to trunk (diff) | |
| parent | Use Cairo 1.10 blend operators to render feBlend (diff) | |
| download | inkscape-5fddcdb1e078c2cb06c3ccef536894d722664e80.tar.gz inkscape-5fddcdb1e078c2cb06c3ccef536894d722664e80.zip | |
update to trunk
(bzr r11950.1.151)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/template-widget.cpp | 2 | ||||
| -rw-r--r-- | src/ui/widget/unit-tracker.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/template-widget.cpp b/src/ui/dialog/template-widget.cpp index 7e34e5a58..898903f2b 100644 --- a/src/ui/dialog/template-widget.cpp +++ b/src/ui/dialog/template-widget.cpp @@ -120,7 +120,7 @@ void TemplateWidget::_displayTemplateDetails() if (_current_template.long_description != "") message += _("Description: ") + _current_template.long_description + "\n\n"; - if (_current_template.keywords.size() > 0){ + if (~_current_template.keywords.empty()){ message += _("Keywords: "); for (std::set<Glib::ustring>::iterator it = _current_template.keywords.begin(); it != _current_template.keywords.end(); ++it) message += *it + " "; diff --git a/src/ui/widget/unit-tracker.cpp b/src/ui/widget/unit-tracker.cpp index 5b2dc031b..f9b0c3a44 100644 --- a/src/ui/widget/unit-tracker.cpp +++ b/src/ui/widget/unit-tracker.cpp @@ -41,7 +41,7 @@ UnitTracker::UnitTracker(UnitType unit_type) : UnitTable::UnitMap::iterator m_iter = m.begin(); while(m_iter != m.end()) { Glib::ustring text = (*m_iter).first; - m_iter++; + ++m_iter; gtk_list_store_append(_store, &iter); gtk_list_store_set(_store, &iter, COLUMN_STRING, text.c_str(), -1); } |
