From 477de3ffd92f08dac76de57c5c41a60f7c2dd9ad Mon Sep 17 00:00:00 2001 From: Milosz Derezynski Date: Thu, 18 May 2006 01:36:39 +0000 Subject: * First implementation step of the text toolbox (bzr r868) --- src/widgets/font-selector.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/widgets/font-selector.cpp') 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()); -- cgit v1.2.3