diff options
Diffstat (limited to 'src/widgets/font-selector.cpp')
| -rw-r--r-- | src/widgets/font-selector.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/widgets/font-selector.cpp b/src/widgets/font-selector.cpp index 819ac77b6..50380032b 100644 --- a/src/widgets/font-selector.cpp +++ b/src/widgets/font-selector.cpp @@ -42,8 +42,6 @@ struct SPFontSelector GtkWidget *family_treeview; GtkWidget *style_treeview; - NRNameList families; - NRStyleList styles; gfloat fontsize; bool fontsize_dirty; Glib::ustring *fontspec; @@ -240,16 +238,6 @@ static void sp_font_selector_dispose(GObject *object) delete fsel->fontspec; } - if (fsel->families.length > 0) { - nr_name_list_release(&fsel->families); - fsel->families.length = 0; - } - - if (fsel->styles.length > 0) { - nr_style_list_release(&fsel->styles); - fsel->styles.length = 0; - } - if (G_OBJECT_CLASS(sp_font_selector_parent_class)->dispose) { G_OBJECT_CLASS(sp_font_selector_parent_class)->dispose(object); } |
