annotate .dir-locals.el @ 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 340849d761a5
children 2c36d4f54456
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
101014
49524a62e7d6 Don't set indent-tabs-mode.
Glenn Morris <rgm@gnu.org>
parents: 100718
diff changeset
1 ((nil . ((tab-width . 8)
100718
0a3d5993b567 Remove non-working entry for pmail.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100687
diff changeset
2 (fill-column . 70)))
100672
38e7317321ea * make-dist (tempdir): Distribute .dir-locals.el.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
3 (c-mode . ((c-file-style . "GNU")))
100718
0a3d5993b567 Remove non-working entry for pmail.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100687
diff changeset
4 (change-log-mode . ((add-log-time-zone-rule . t)
101158
4a6ff510dcf9 (change-log-mode): Add bug-reference-url-format and bug-reference-mode.
Juri Linkov <juri@jurta.org>
parents: 101014
diff changeset
5 (fill-column . 74)
106607
55134161b319 (bug-reference-url-format): Change to debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents: 105015
diff changeset
6 (bug-reference-url-format . "http://debbugs.gnu.org/%s")
107432
340849d761a5 * .dir-locals.el (c-mode): Turn on whitespace-mode for diff-mode.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106607
diff changeset
7 (mode . bug-reference)))
340849d761a5 * .dir-locals.el (c-mode): Turn on whitespace-mode for diff-mode.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 106607
diff changeset
8 (diff-mode . ((mode . whitespace))))
100687
245c01516a02 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 100672
diff changeset
9
245c01516a02 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 100672
diff changeset
10 ;; arch-tag: fb93c160-e9fe-4184-aad1-e4f5daa11cbd