Fix minor GTK3 problems found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 Apr 2012 07:34:29 +0000 (00:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 Apr 2012 07:34:29 +0000 (00:34 -0700)
commit1068fe4d1bde1f532aedb612244f0f3c4ad555be
tree55328f6213ec8c47bb225e560bd96de88f0aaee6
parent0ba2624f7dd2253853c6caf4fbfdc272822de3e3
Fix minor GTK3 problems found by static checking.

* emacsgtkfixed.c (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
(EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
(struct _EmacsFixedClass, emacs_fixed_get_type):
Move decls here from emacsgtkfixed.h, since they needn't be public.
(emacs_fixed_get_type): Now static.
(emacs_fixed_class_init): Omit unused local.
(emacs_fixed_child_type): Remove; unused.
* emacsgtkfixed.h (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
(EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
(struct _EmacsFixedClass): Move to emacsgtkfixed.c.
(EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS)
(EMACS_FIXED_GET_CLASS): Remove; unused.
* gtkutil.c (xg_create_frame_widgets) [!HAVE_GTK3]: Omit unused local.
src/ChangeLog
src/emacsgtkfixed.c
src/emacsgtkfixed.h
src/gtkutil.c