1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-13 16:38:14 +00:00
emacs/lwlib
Jan D e4c8d29a32 Fix some bad prototypes and formatting after conversion from K&R declaration.
* lwlib/lwlib-Xaw.c: Include <ctype.h> for isdigit.
(fill_xft_data, set_text): Remove unused variable screen.
(draw_text): Cast bp to FcChar8*.
(find_xft_data): Return 0 if inst or xft_data is not set.
(wm_delete_window): Correct prototype.  Initialize widget to 0
and return if widget is still 0 after loop.

* lwlib/xlwmenu.c (XlwMenuSetValues, XlwMenuInitialize): Correct prototype.
(display_menu_item): Remove unused variable gi.
(make_windows_if_needed): Remove unused variable screen.
(XlwMenuRedisplay): Remove unused variable i.

* src/gtkutil.c (xg_get_pixbuf_from_pix_and_mask)
(xg_get_image_for_pixmap, create_dialog)
(xg_get_file_with_selection, xg_get_file_name, update_cl_data)
(menuitem_highlight_callback, make_menu_item)
(xg_create_one_menuitem, create_menus, xg_update_menu_item)
(xg_create_scroll_bar, xg_update_scrollbar_pos)
(xg_set_toolkit_scroll_bar_thumb, xg_tool_bar_button_cb)
(xg_tool_bar_proxy_help_callback, xg_tool_bar_detach_callback)
(xg_tool_bar_attach_callback, xg_tool_bar_help_callback)
(xg_tool_bar_item_expose_callback): Reformat prototype.
(xg_update_menubar): GList *group => GSList *group.
(xg_modify_menubar_widgets): Initialize witem to 0, check witem != 0
before use.
(update_frame_tool_bar): 4:th param to xg_get_image_for_pixmap changed
to GTK_IMAGE (wimage).

* src/xsettings.c (something_changedCB, parse_settings)
(apply_xft_settings): Reformat prototype.
(something_changedCB, init_gconf): Remove unused variable i.
(read_settings): Remove unused variable long_len.

* src/xsmfns.c (SSDATA): New macro.
(smc_save_yourself_CB, x_session_initialize): Use SSDATA for strings
passed to strlen/strcpy/strcat.
(create_client_leader_window): Surround with #ifndef USE_GTK.  Cast
7:th arg to XChangeProperty to (unsigned char *)
2010-07-05 11:17:12 +02:00
..
.gitignore
ChangeLog Fix some bad prototypes and formatting after conversion from K&R declaration. 2010-07-05 11:17:12 +02:00
COPYING
lwlib-int.h Remove P_ and __P macros. 2010-07-02 11:26:33 +02:00
lwlib-utils.c Convert function definitions in lwlib files to standard C. 2010-07-03 22:47:55 -07:00
lwlib-utils.h Remove P_ and __P macros. 2010-07-02 11:26:33 +02:00
lwlib-Xaw.c Fix some bad prototypes and formatting after conversion from K&R declaration. 2010-07-05 11:17:12 +02:00
lwlib-Xaw.h Remove P_ and __P macros. 2010-07-02 11:26:33 +02:00
lwlib-Xlw.c Convert function definitions in lwlib files to standard C. 2010-07-03 22:47:55 -07:00
lwlib-Xlw.h Remove P_ and __P macros. 2010-07-02 11:26:33 +02:00
lwlib-Xm.c Remove __P and P_ from .c and .m files and definition of P_ 2010-07-02 14:19:53 +02:00
lwlib-Xm.h Remove P_ and __P macros. 2010-07-02 11:26:33 +02:00
lwlib.c Convert function definitions in lwlib files to standard C. 2010-07-03 22:47:55 -07:00
lwlib.h Convert function definitions in lwlib files to standard C. 2010-07-03 22:47:55 -07:00
Makefile.in * lwlib/Makefile.in (mostlyclean): Remove references to non-existent files. 2010-05-14 19:02:28 -07:00
README Remove silly examples of changes. 2010-02-03 21:21:40 -08:00
xlwmenu.c Fix some bad prototypes and formatting after conversion from K&R declaration. 2010-07-05 11:17:12 +02:00
xlwmenu.h Lucid menus can now use Xft for fonts. 2010-04-08 18:20:32 +02:00
xlwmenuP.h Don't redraw lucid menus more than needed. Use double buffer to reduce flicker. 2010-04-17 19:43:03 +02:00

This subdirectory contains the Lucid Widget Library (lwlib), which
provides a uniform interface to a few different X toolkits.  The
library was written by Lucid, Inc and released under the terms of the
GPL version 1 (or later).  It is not considered part of GNU Emacs.

This version of the library differs from the original as described in
the ChangeLog file.