From: Paul Cornett Date: Tue, 28 Feb 2012 18:23:39 +0000 (+0000) Subject: avoid deprecated gdk_net_wm_supports() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d058098eb2798b063ec286c2739dea990a61b914 avoid deprecated gdk_net_wm_supports() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/utilsx11.cpp b/src/unix/utilsx11.cpp index 63a3200831..ef81b9022c 100644 --- a/src/unix/utilsx11.cpp +++ b/src/unix/utilsx11.cpp @@ -272,7 +272,7 @@ static bool wxQueryWMspecSupport(Display* WXUNUSED(display), Atom (feature)) { GdkAtom gatom = gdk_x11_xatom_to_atom(feature); - return gdk_net_wm_supports(gatom); + return gdk_x11_screen_supports_net_wm_hint(gdk_screen_get_default(), gatom); } #else static bool wxQueryWMspecSupport(Display *display, Window rootWnd, Atom feature)