RFR: JDK-8273387: remove some unreferenced gtk-related functions
Pankaj Bansal
pbansal at openjdk.java.net
Wed Sep 8 04:20:03 UTC 2021
On Tue, 7 Sep 2021 07:29:19 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> Please review this small change.
> Looks like there are a few functions, like gtk2_paint_diamond, that are unreferenced and can be removed.
>
> Thanks, Matthias
src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c line 1853:
> 1851: }
> 1852:
> 1853: static void gtk2_paint_diamond(WidgetType widget_type, GtkStateType state_type,
I think the function pointer initialiasation of this function `fp_gtk_paint_diamond` should also be removed along with removing the function definition.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5384
More information about the client-libs-dev
mailing list