Integrated: JDK-8336413 : gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf

Harshitha Onkar honkar at openjdk.org
Tue Jul 16 23:49:54 UTC 2024


On Mon, 15 Jul 2024 23:29:25 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> Typedef re-declaration warnings were seen on Solaris in 11u but this seems to be an issue in all releases including mainline, but only the Solaris compiler warns. 
>  
> Two typedef declarations are causing this issue - `GMainContext, GdkPixbuf`
> 
> The problem is that they are defined in gtk_interface.h but then redefined in gtk2_interface.h and gtk3_interface.h
> The fix is to remove the redeclarations in gtk2_interface.h and gtk3_interface.h

This pull request has now been integrated.

Changeset: 69baa7d2
Author:    Harshitha Onkar <honkar at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/69baa7d2850fafbd89978db12eec683c286eb921
Stats:     6 lines in 2 files changed: 0 ins; 4 del; 2 mod

8336413: gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf

Reviewed-by: prr, dnguyen

-------------

PR: https://git.openjdk.org/jdk/pull/20186


More information about the client-libs-dev mailing list