summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-02-21 00:28:32 +0000
committerAlex Valavanis <valavanisalex@googlemail.com>2012-02-21 00:28:32 +0000
commit6e1b7bd15655e5880b779dcaebe73db2e9acd2fa (patch)
treec3a63fe8a21314f79119e9afca418ca99cb59dc9
parentdocumentation (diff)
downloadinkscape-6e1b7bd15655e5880b779dcaebe73db2e9acd2fa.tar.gz
inkscape-6e1b7bd15655e5880b779dcaebe73db2e9acd2fa.zip
Fix conditional build for old GTK+ in new text-edit dialog
Fixed bugs: - https://launchpad.net/bugs/937288 (bzr r11004)
-rw-r--r--src/ui/dialog/text-edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/text-edit.cpp b/src/ui/dialog/text-edit.cpp
index 4e2003d07..3eaad85a8 100644
--- a/src/ui/dialog/text-edit.cpp
+++ b/src/ui/dialog/text-edit.cpp
@@ -499,7 +499,7 @@ This conditional and its #else block can be deleted in the future.
#if GTK_CHECK_VERSION(2, 24,0)
const gchar *sstr = gtk_combo_box_text_get_active_text ((GtkComboBoxText *) spacing_combo);
#else
- const gchar *sstr = gtk_entry_get_text ((GtkEntry *) (gtk_bin_get_child (GTK_BIN (combo))));
+ const gchar *sstr = gtk_entry_get_text ((GtkEntry *) (gtk_bin_get_child (GTK_BIN (spacing_combo))));
#endif
sp_repr_css_set_property (css, "line-height", sstr);