X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xedittags.c;h=0235da4748439cd69aac539b5d15c6e789118fbc;hb=15d1ea181db5a5de2bafc3fa9602abaa628f4ff5;hp=36f5fb43c7bc8c38450839e4436902221dfc51fe;hpb=4e062d14429ed3a3a251c971690bade4c8cba946;p=xboard.git diff --git a/xedittags.c b/xedittags.c index 36f5fb4..0235da4 100644 --- a/xedittags.c +++ b/xedittags.c @@ -81,6 +81,7 @@ extern char *getenv(); #include "backend.h" #include "xboard.h" #include "xedittags.h" +#include "dialogs.h" #include "gettext.h" #ifdef ENABLE_NLS @@ -109,16 +110,16 @@ EditTagsPopUp (char *tags, char **dest) void TagsPopDown() { - PopDown(2); + PopDown(TagsDlg); bookUp = False; } void -EditTagsProc (Widget w, XEvent *event, String *prms, Cardinal *nprms) +EditTagsProc () { Arg args[5]; int j; - if (!bookUp && PopDown(2)) { + if (!bookUp && PopDown(TagsDlg)) { j = 0; XtSetArg(args[j], XtNleftBitmap, None); j++; XtSetValues(XtNameToWidget(menuBarWidget, "menuView.Show Tags"), args, j);