summaryrefslogtreecommitdiffstats
path: root/src/widgets/font-selector.cpp
diff options
context:
space:
mode:
authorMilosz Derezynski <mderezynski@gmail.com>2006-05-18 01:36:39 +0000
committermderezynski <mderezynski@users.sourceforge.net>2006-05-18 01:36:39 +0000
commit477de3ffd92f08dac76de57c5c41a60f7c2dd9ad (patch)
tree9458cc3d3e98cbae06863f648ce7ff7a44150529 /src/widgets/font-selector.cpp
parent* Remove old/stale code from font-lister.h/cpp (diff)
downloadinkscape-477de3ffd92f08dac76de57c5c41a60f7c2dd9ad.tar.gz
inkscape-477de3ffd92f08dac76de57c5c41a60f7c2dd9ad.zip
* First implementation step of the text toolbox
(bzr r868)
Diffstat (limited to 'src/widgets/font-selector.cpp')
-rw-r--r--src/widgets/font-selector.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widgets/font-selector.cpp b/src/widgets/font-selector.cpp
index 7aff7ee3d..ec619c50c 100644
--- a/src/widgets/font-selector.cpp
+++ b/src/widgets/font-selector.cpp
@@ -389,8 +389,7 @@ void sp_font_selector_set_font (SPFontSelector *fsel, font_instance *font, doubl
gchar family[256];
font->Family (family, 256);
- Inkscape::FontLister *fontlister = Inkscape::FontLister::get_instance();
- Gtk::TreePath path = fontlister->get_row_for_font (family);
+ Gtk::TreePath path = Inkscape::FontLister::get_instance()->get_row_for_font (family);
fsel->block_emit = TRUE;
gtk_tree_selection_select_path (gtk_tree_view_get_selection (GTK_TREE_VIEW (fsel->family_treeview)), path.gobj());