mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Don't leak PangoAttributes. (#352391, Paolo Borelli)
2006-08-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtklinkbutton.c (set_link_underline): Don't leak PangoAttributes. (#352391, Paolo Borelli)
This commit is contained in:
parent
b14b866c3d
commit
01aa0a152a
@ -1,3 +1,8 @@
|
||||
2006-08-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtklinkbutton.c (set_link_underline): Don't leak
|
||||
PangoAttributes. (#352391, Paolo Borelli)
|
||||
|
||||
2006-08-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* demos/gtk-demo/Makefile.am:
|
||||
|
@ -265,6 +265,7 @@ set_link_underline (GtkLinkButton *link_button)
|
||||
attributes = pango_attr_list_new ();
|
||||
pango_attr_list_insert (attributes, uline);
|
||||
gtk_label_set_attributes (GTK_LABEL (label), attributes);
|
||||
pango_attr_list_unref (attributes);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user