summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-08-13 13:15:28 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-08-13 13:15:28 +0000
commitce41e6c128161e245d9523c0b0cbbba8e12823c7 (patch)
tree2094bef3540f195f6f32b6b664e0f50c11f4bcc9 /src/libnrtype
parentFix build (diff)
downloadinkscape-ce41e6c128161e245d9523c0b0cbbba8e12823c7.tar.gz
inkscape-ce41e6c128161e245d9523c0b0cbbba8e12823c7.zip
Revert unintentional changes
(bzr r13511)
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/font-lister.cpp6
-rw-r--r--src/libnrtype/font-lister.h7
2 files changed, 6 insertions, 7 deletions
diff --git a/src/libnrtype/font-lister.cpp b/src/libnrtype/font-lister.cpp
index 3c21e62e4..43c3045b1 100644
--- a/src/libnrtype/font-lister.cpp
+++ b/src/libnrtype/font-lister.cpp
@@ -268,12 +268,6 @@ namespace Inkscape
font_list_store->thaw_notify();
}
-Inkscape::FontLister* FontLister::get_instance ()
-{
- static Inkscape::FontLister* instance = new Inkscape::FontLister();
- return instance;
-}
-
void
FontLister::update_font_list_recursive( SPObject *r, std::list<Glib::ustring> *l ) {
diff --git a/src/libnrtype/font-lister.h b/src/libnrtype/font-lister.h
index 09be16f24..c89dab550 100644
--- a/src/libnrtype/font-lister.h
+++ b/src/libnrtype/font-lister.h
@@ -149,7 +149,12 @@ namespace Inkscape
update_font_list_recursive( SPObject *r, std::list<Glib::ustring> *l );
public:
- static Inkscape::FontLister* get_instance ();
+ static Inkscape::FontLister*
+ get_instance ()
+ {
+ static Inkscape::FontLister* instance = new Inkscape::FontLister();
+ return instance;
+ }
/** Takes a hand written font spec and returns a Pango generated one in
* standard form.