From 6e1b7bd15655e5880b779dcaebe73db2e9acd2fa Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Tue, 21 Feb 2012 00:28:32 +0000 Subject: Fix conditional build for old GTK+ in new text-edit dialog Fixed bugs: - https://launchpad.net/bugs/937288 (bzr r11004) --- src/ui/dialog/text-edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3