Opened 5 years ago

Closed 5 years ago

#15697 closed optimization (fixed)

replace deprecated "gtk_style_context_get_font" with "gtk_style_context_get"

Reported by: Hanmac Owned by:
Priority: normal Milestone:
Component: wxGTK Version: dev-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: yes


this patch removes gtk_style_context_get_font which is deprecated by gtk_style_context_get.

Attachments (1)

gtk_font.patch download (1.3 KB) - added by Hanmac 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by Hanmac

comment:1 Changed 5 years ago by pcor

I don't see how anyone is supposed to know it from the GTK+ documentation, but by looking at the source code it is clear the PangoFontDescription returned by gtk_style_context_get() is supposed to be freed.

comment:2 Changed 5 years ago by PC

  • Resolution set to fixed
  • Status changed from new to closed

(In [75284]) avoid deprecated gtk_style_context_get_font(), closes #15697

Note: See TracTickets for help on using tickets.