diff options
| author | Jan D | 2010-07-05 11:17:12 +0200 |
|---|---|---|
| committer | Jan D | 2010-07-05 11:17:12 +0200 |
| commit | e4c8d29a32adbde811a109d5e19caa75fd9d042b (patch) | |
| tree | ffaa67180bd87eae947408a76cddecaaa1c227b0 /src/ChangeLog | |
| parent | 898b4c5c2cb4b4ae2fa2cd1631db63a9acff787a (diff) | |
| download | emacs-e4c8d29a32adbde811a109d5e19caa75fd9d042b.tar.gz emacs-e4c8d29a32adbde811a109d5e19caa75fd9d042b.zip | |
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 *)
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3bccc7179d5..0b23f0c4426 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,32 @@ | |||
| 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 |