summaryrefslogtreecommitdiffstats
path: root/src/widgets/font-selector.cpp
diff options
context:
space:
mode:
authorjtx <javier.arraiza@marker.es>2013-03-01 11:10:10 +0000
committerjtx <javier.arraiza@marker.es>2013-03-01 11:10:10 +0000
commitf8ce89080f35dfa5e79c6b695dba99d9067a4164 (patch)
tree042f1e66dc6ade77a06532d991a44e8476a42cd3 /src/widgets/font-selector.cpp
parentUpdate from branch (diff)
parentGerman translation update 100% (diff)
downloadinkscape-f8ce89080f35dfa5e79c6b695dba99d9067a4164.tar.gz
inkscape-f8ce89080f35dfa5e79c6b695dba99d9067a4164.zip
Update from branch
(bzr r11950.3.4)
Diffstat (limited to 'src/widgets/font-selector.cpp')
-rw-r--r--src/widgets/font-selector.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/widgets/font-selector.cpp b/src/widgets/font-selector.cpp
index 013ad9e94..59fe25fa1 100644
--- a/src/widgets/font-selector.cpp
+++ b/src/widgets/font-selector.cpp
@@ -51,8 +51,6 @@ struct SPFontSelector
NRNameList families;
NRStyleList styles;
- int familyidx;
- int styleidx;
gfloat fontsize;
bool fontsize_dirty;
font_instance *font;
@@ -246,9 +244,7 @@ static void sp_font_selector_init(SPFontSelector *fsel)
gtk_widget_show_all (fsel->size);
- fsel->familyidx = 0;
- fsel->styleidx = 0;
- fsel->fontsize = 10.0;
+ fsel->fontsize = 18.0;
fsel->fontsize_dirty = false;
fsel->font = NULL;
}
@@ -290,8 +286,6 @@ static void sp_font_selector_family_select_row(GtkTreeSelection *selection,
path = gtk_tree_model_get_path (model, &iter);
gtk_tree_model_get (model, &iter, 1, &list, -1);
- fsel->familyidx = gtk_tree_path_get_indices (path)[0];
- fsel->styleidx = 0;
store = gtk_list_store_new (1, G_TYPE_STRING);
@@ -318,7 +312,6 @@ static void sp_font_selector_style_select_row (GtkTreeSelection *selection,
if (!gtk_tree_selection_get_selected (selection, &model, &iter)) return;
path = gtk_tree_model_get_path (model, &iter);
- fsel->styleidx = gtk_tree_path_get_indices (path)[0];
if (!fsel->block_emit)
{