@@ -396,20 +396,15 @@ pub fn makeTootBox(toot: toot_lib.Toot(), colconfig: *config.ColumnConfig) [*c]c
396396
397397
398398 const tagBox = builder_get_widget (builder , c"tag_box" );
399+ var tagidx = usize (0 );
399400 for (toot .tagList .toSlice ()) | tag | {
400401 const cTag = util .sliceToCstr (allocator , tag );
401402 const tagLabel = c .gtk_label_new (cTag );
402403 const labelContext = c .gtk_widget_get_style_context (tagLabel );
403404 c .gtk_style_context_add_class (labelContext , c"toot_tag" );
404- c .gtk_box_pack_start (@ptrCast ([* c ]c .GtkBox , tagBox ), tagLabel ,
405- c .gtk_false (), c .gtk_true (), 10 );
406- c .gtk_widget_show (tagLabel );
407-
408- var tagboxAllocation = c.GtkAllocation {.x = -1 , .y = -1 , .width = 0 , .height = 0 };
409- c .gtk_widget_get_allocation (tagBox , & tagboxAllocation );
410- var taglabelAllocation = c.GtkAllocation {.x = -1 , .y = -1 , .width = 0 , .height = 0 };
411- c .gtk_widget_get_allocation (tagLabel , & taglabelAllocation );
412- warn ("tagbox width {} label width {}\n " , tagboxAllocation .width , taglabelAllocation .width );
405+ // c.gtk_box_pack_start(@ptrCast([*c]c.GtkBox, tagBox), tagLabel,
406+ // c.gtk_false(), c.gtk_true(), 10);
407+ // c.gtk_widget_show(tagLabel);
413408 }
414409
415410 if (colconfig .img_only ) {
0 commit comments