Code

* Don't forget to acquire the row from the model in toolbox.cpp:cell_data_func()
authormderezynski <mderezynski@users.sourceforge.net>
Mon, 22 May 2006 08:43:23 +0000 (08:43 +0000)
committermderezynski <mderezynski@users.sourceforge.net>
Mon, 22 May 2006 08:43:23 +0000 (08:43 +0000)
src/widgets/toolbox.cpp

index 80486120a50d8b747f653a0005fc8ec0da0eb188..98ea859a8f48b68ededdde2f975b540ebf8733f7 100644 (file)
@@ -3259,6 +3259,8 @@ namespace {
                     *sample_escaped;
         const char  *sample; 
 
+        gtk_tree_model_get (tree_model, iter, 0, &family, -1);
+
         sample = prefs_get_string_attribute ("tools.text", "font_sample"); 
 
         family_escaped = g_markup_escape_text (family, -1);