]> git.eshelyaron.com Git - emacs.git/commit
Port to GTK with strict C11 compiler
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 18 Mar 2016 15:36:59 +0000 (08:36 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 18 Mar 2016 15:43:32 +0000 (08:43 -0700)
commitde7601f149a5fedc1f3f62c62ba94b9d0e3d2069
tree45f4b9831b90d402b747d94aac05bcc07af5a39f
parent658aa2dae8093fede8c823090c67e02756dd6ed5
Port to GTK with strict C11 compiler

* src/gtkutil.c (xg_create_frame_widgets, xg_toggle_notify_cb):
Cast from function type to void * where the C standard requires this.
This works around a problem in the prototypes for
g_signal_handler_find and g_signal_handlers_block_by_func, which
use gpointer instead of GCallback.  Found by using gcc -pedantic.
src/gtkutil.c