Opened 8 months ago

Closed 8 months 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

Description

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 8 months ago.

Download all attachments as: .zip

Change History (3)

Changed 8 months ago by Hanmac

comment:1 Changed 8 months 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 8 months 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.