summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/unit-tracker.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-03-22 14:26:07 +0000
committertavmjong-free <tavmjong@free.fr>2016-03-22 14:26:07 +0000
commit6fa580b554e03eb7e53593d10a2e97c5975ee3f8 (patch)
tree307f2b770ef3311e34459c846c5ad20a79e6f028 /src/ui/widget/unit-tracker.cpp
parentinkex.py code simplification (more compact if conditions, unreachable code) (diff)
parentAdd line-height unit selector to text toolbar. (diff)
downloadinkscape-6fa580b554e03eb7e53593d10a2e97c5975ee3f8.tar.gz
inkscape-6fa580b554e03eb7e53593d10a2e97c5975ee3f8.zip
More complete handling of units for 'line-height' in text toolbar.
(bzr r14735)
Diffstat (limited to 'src/ui/widget/unit-tracker.cpp')
-rw-r--r--src/ui/widget/unit-tracker.cpp10
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;