gtk/win32: fix usage of deprecated function
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 25 Apr 2023 12:27:40 +0000 (16:27 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 25 Apr 2023 12:37:58 +0000 (16:37 +0400)
commit2d11d3f8d347e0511c3135b4e4e94e0f05ba3605
treee633003748a93e5f71e4c4534d6bb88b2f770f06
parentff9cd989c6a5b8134d9273fca4805e0f90c61fbe
gtk/win32: fix usage of deprecated function

[106/939] Compiling C object gtk/libgtk.a.p/gtkimcontextime.c.obj
../gtk/gtkimcontextime.c: In function 'gtk_im_context_ime_set_preedit_font':
../gtk/gtkimcontextime.c:780:3: warning: 'gtk_widget_get_style_context' is deprecated [-Wdeprecated-declarations]
  780 |   font_desc = gtk_css_style_get_pango_font (gtk_style_context_lookup_style (gtk_widget_get_style_context (context_ime->client_widget)));

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
gtk/gtkimcontextime.c