summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2008-06-22 22:57:26 +0000
committerJucaBlues <JucaBlues@users.sourceforge.net>2008-06-22 22:57:26 +0000
commitf8f3df049eaa09be051832025b2813b488652f09 (patch)
tree00d701e78929aece9c32d3337da1c876d1b38cf0 /src
parentreintroducing code that initially committed in revision 18594 and the have be... (diff)
downloadinkscape-f8f3df049eaa09be051832025b2813b488652f09.tar.gz
inkscape-f8f3df049eaa09be051832025b2813b488652f09.zip
warning cleanup
(bzr r6024)
Diffstat (limited to 'src')
-rw-r--r--src/widgets/toolbox.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 726c98785..2413fadd9 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -4734,8 +4734,7 @@ sp_text_toolbox_selection_changed (Inkscape::Selection */*selection*/, GObject *
SPStyle *query =
sp_style_new (SP_ACTIVE_DOCUMENT);
- int result_fontspec =
- sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_FONT_SPECIFICATION);
+// int result_fontspec = sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_FONT_SPECIFICATION);
int result_family =
sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_FONTFAMILY);
@@ -4942,7 +4941,7 @@ sp_text_toolbox_family_changed (GtkTreeSelection *selection,
int result_fontspec =
sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_FONT_SPECIFICATION);
- font_instance * fontFromStyle = font_factory::Default()->FaceFromStyle(query);
+ //font_instance * fontFromStyle = font_factory::Default()->FaceFromStyle(query);
SPCSSAttr *css = sp_repr_css_attr_new ();
@@ -5111,14 +5110,9 @@ sp_text_toolbox_style_toggled (GtkToggleButton *button,
int result_fontspec =
sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_FONT_SPECIFICATION);
- int result_family =
- sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_FONTFAMILY);
-
- int result_style =
- sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_FONTSTYLE);
-
- int result_numbers =
- sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_FONTNUMBERS);
+ //int result_family = sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_FONTFAMILY);
+ //int result_style = sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_FONTSTYLE);
+ //int result_numbers = sp_desktop_query_style (SP_ACTIVE_DESKTOP, query, QUERY_STYLE_PROPERTY_FONTNUMBERS);
Glib::ustring fontSpec = query->text->font_specification.set ? query->text->font_specification.value : "";
Glib::ustring newFontSpec = "";