dtcreate: Add missing prototypes and more (64-bit)

- Fix missing prototypes
- Fix some 64-bit related problems (XtVaGetValues)
- Fix crash on dtcreate startup in create_applicationShell1()
- Add XmeFlushIconFileCache() prototype from <Xm/IconFileP.h>
This commit is contained in:
Marcin Cieslak
2012-09-30 00:16:31 +02:00
committed by Jon Trulson
parent 3eaeffaf7e
commit 27bc7d6bec
23 changed files with 112 additions and 50 deletions

View File

@@ -34,6 +34,7 @@
#include <Xm/RowColumnP.h>
#include <Xm/MessageB.h>
#include <Xm/Text.h>
#include <Xm/List.h>
#include "cmnutils.h"
@@ -119,7 +120,7 @@ return (text_string);
/********************************************************************************/
void delete_all_list_items (Widget list)
{
int item_count = 0;
XtArgVal /* int */ item_count = 0;
XtVaGetValues (list, XmNitemCount, &item_count, NULL);
if (item_count > 0) {