Mercurial > emacs
comparison src/ChangeLog @ 109141:fa173b9bd9ce
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 *)
| author | Jan D <jan.h.d@swipnet.se> |
|---|---|
| date | Mon, 05 Jul 2010 11:17:12 +0200 |
| parents | 3e48102ba93a |
| children | 30e7117b54cd |
comparison
equal
deleted
inserted
replaced
| 109140:3e48102ba93a | 109141:fa173b9bd9ce |
|---|---|
| 1 2010-07-05 Jan Djärv <jan.h.d@swipnet.se> | |
| 2 | |
| 3 * xsmfns.c (SSDATA): New macro. | |
| 4 (smc_save_yourself_CB, x_session_initialize): Use SSDATA for strings | |
| 5 passed to strlen/strcpy/strcat. | |
| 6 (create_client_leader_window): Surround with #ifndef USE_GTK. Cast | |
| 7 7:th arg to XChangeProperty to (unsigned char *) | |
| 8 | |
| 9 * xsettings.c (something_changedCB, parse_settings) | |
| 10 (apply_xft_settings): Reformat prototype. | |
| 11 (something_changedCB, init_gconf): Remove unused variable i. | |
| 12 (read_settings): Remove unused variable long_len. | |
| 13 | |
| 14 * gtkutil.c (xg_get_pixbuf_from_pix_and_mask) | |
| 15 (xg_get_image_for_pixmap, create_dialog) | |
| 16 (xg_get_file_with_selection, xg_get_file_name, update_cl_data) | |
| 17 (menuitem_highlight_callback, make_menu_item) | |
| 18 (xg_create_one_menuitem, create_menus, xg_update_menu_item) | |
| 19 (xg_create_scroll_bar, xg_update_scrollbar_pos) | |
| 20 (xg_set_toolkit_scroll_bar_thumb, xg_tool_bar_button_cb) | |
| 21 (xg_tool_bar_proxy_help_callback, xg_tool_bar_detach_callback) | |
| 22 (xg_tool_bar_attach_callback, xg_tool_bar_help_callback) | |
| 23 (xg_tool_bar_item_expose_callback): Reformat prototype. | |
| 24 (xg_update_menubar): GList *group => GSList *group. | |
| 25 (xg_modify_menubar_widgets): Initialize witem to 0, check witem != 0 | |
| 26 before use. | |
| 27 (update_frame_tool_bar): 4:th param to xg_get_image_for_pixmap changed | |
| 28 to GTK_IMAGE (wimage). | |
| 29 | |
| 1 2010-07-05 Dan Nicolaescu <dann@ics.uci.edu> | 30 2010-07-05 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 31 |
| 3 * atimer.c: Use "" instead of <> for local includes for | 32 * atimer.c: Use "" instead of <> for local includes for |
| 4 consistency with the rest of the code. | 33 consistency with the rest of the code. |
| 5 | 34 |
