summaryrefslogtreecommitdiff
path: root/src/gui_xmdlg.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-05-21 21:27:43 +0000
committerBram Moolenaar <Bram@vim.org>2009-05-21 21:27:43 +0000
commit4bdbbf706634d8ab4b84801f0a30fd4eacbc901c (patch)
tree6a02da9fb455ef18bdcf4fdcf7ce56555018ac83 /src/gui_xmdlg.c
parent32f31b1a0ff304c10136ae9b49bb15981e8bb935 (diff)
downloadvim-git-4bdbbf706634d8ab4b84801f0a30fd4eacbc901c.tar.gz
updated for version 7.2-184v7.2.184
Diffstat (limited to 'src/gui_xmdlg.c')
-rw-r--r--src/gui_xmdlg.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/gui_xmdlg.c b/src/gui_xmdlg.c
index cbdbe681d..9ac41d7f3 100644
--- a/src/gui_xmdlg.c
+++ b/src/gui_xmdlg.c
@@ -448,7 +448,7 @@ fill_lists(enum ListSpecifier fix, SharedFontSelData *data)
items[i] = XmStringCreateLocalized(list[ENCODING][i]);
- if (i < n_items)
+ if (i < (int)n_items)
{
/* recycle old button */
XtVaSetValues(children[i],
@@ -481,7 +481,7 @@ fill_lists(enum ListSpecifier fix, SharedFontSelData *data)
/* Destroy all the outstanding menu items.
*/
- for (i = count[ENCODING]; i < n_items; ++i)
+ for (i = count[ENCODING]; i < (int)n_items; ++i)
{
XtUnmanageChild(children[i]);
XtDestroyWidget(children[i]);
@@ -544,9 +544,8 @@ fill_lists(enum ListSpecifier fix, SharedFontSelData *data)
}
}
-/*ARGSUSED*/
static void
-stoggle_callback(Widget w,
+stoggle_callback(Widget w UNUSED,
SharedFontSelData *data,
XmToggleButtonCallbackStruct *call_data)
{
@@ -709,11 +708,10 @@ do_choice(Widget w,
}
}
-/*ARGSUSED*/
static void
encoding_callback(Widget w,
SharedFontSelData *data,
- XtPointer dummy)
+ XtPointer dummy UNUSED)
{
XmString str;
XmListCallbackStruct fake_data;
@@ -752,11 +750,10 @@ size_callback(Widget w,
do_choice(w, data, call_data, SIZE);
}
-/*ARGSUSED*/
static void
-cancel_callback(Widget w,
+cancel_callback(Widget w UNUSED,
SharedFontSelData *data,
- XmListCallbackStruct *call_data)
+ XmListCallbackStruct *call_data UNUSED)
{
if (data->sel[ENCODING])
{
@@ -789,11 +786,10 @@ cancel_callback(Widget w,
data->exit = True;
}
-/*ARGSUSED*/
static void
-ok_callback(Widget w,
+ok_callback(Widget w UNUSED,
SharedFontSelData *data,
- XmPushButtonCallbackStruct *call_data)
+ XmPushButtonCallbackStruct *call_data UNUSED)
{
char *pattern;
char **name;