shoes/ruby.c
static void
shoes_textblock_uncache(shoes_textblock *text, unsigned char all)
{
  if (text->pattr != NULL)
    pango_attr_list_unref(text->pattr);
  text->pattr = NULL;
  if (all)
  {
    if (text->text != NULL)
      g_string_free(text->text, TRUE);
    text->text = NULL;
    text->cached = 0;
  }
}
//
// Frees the pango attribute list.
// The `all` flag means the string has changed as well.
//
Frees the pango attribute list.
The `all` flag means the string has changed as well.
Frees the pango attribute list . The ` all ` flag means the string has changed as well .
static void
shoes_textblock_uncache(shoes_textblock *text, unsigned char all)
{
  if (text->pattr != NULL)
    pango_attr_list_unref(text->pattr);
  text->pattr = NULL;
  if (all)
  {
    if (text->text != NULL)
      g_string_free(text->text, TRUE);
    text->text = NULL;
    text->cached = 0;
  }
}
static void shoes_textblock_uncache ( shoes_textblock * text , unsigned char all ) { if ( text -> pattr != NULL ) pango_attr_list_unref ( text -> pattr ) ; text -> pattr = NULL ; if ( all ) { if ( text -> text != NULL ) g_string_free ( text -> text , TRUE ) ; text -> text = NULL ; text -> cached = 0 ; } }
Frees the pango attribute list.
Frees the pango attribute list .