diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2016-03-18 10:23:29 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2016-03-18 10:23:29 +0000 |
| commit | a714c688d60a3a62114591984f57f26cd41dbed9 (patch) | |
| tree | 3ad1c84aaf1097272b8ee2d4fca5db70f9c4edd3 /src/ui/widget/unit-tracker.cpp | |
| parent | Revert 14707 (diff) | |
| download | inkscape-a714c688d60a3a62114591984f57f26cd41dbed9.tar.gz inkscape-a714c688d60a3a62114591984f57f26cd41dbed9.zip | |
Reverting 14701.
(bzr r14716.1.2)
Diffstat (limited to 'src/ui/widget/unit-tracker.cpp')
| -rw-r--r-- | src/ui/widget/unit-tracker.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ui/widget/unit-tracker.cpp b/src/ui/widget/unit-tracker.cpp index a1501c229..c6318db25 100644 --- a/src/ui/widget/unit-tracker.cpp +++ b/src/ui/widget/unit-tracker.cpp @@ -12,7 +12,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "style-internal.h" #include "unit-tracker.h" #include "widgets/ege-select-one-action.h" @@ -122,15 +121,6 @@ void UnitTracker::addUnit(Inkscape::Util::Unit const *u) gtk_list_store_set(_store, &iter, COLUMN_STRING, u ? u->abbr.c_str() : "NULL", -1); } -void UnitTracker::prependUnit(Inkscape::Util::Unit const *u) -{ - GtkTreeIter iter; - gtk_list_store_prepend(_store, &iter); - gtk_list_store_set(_store, &iter, COLUMN_STRING, u ? u->abbr.c_str() : "NULL", -1); - /* Re-shuffle our default selection here (_active gets out of sync) */ - setActiveUnit(_activeUnit); -} - void UnitTracker::setFullVal(GtkAdjustment *adj, gdouble val) { _priorValues[adj] = val; |
