XTextProperty tp;
tp.value = (unsigned char*)"Ibex";
- tp.nitems = 3;
+ tp.nitems = 4;
tp.encoding = XA_STRING;
tp.format = 8;
XSetTextProperty(display, (*((Window*)window)), &tp, XA_WM_CLASS);
// FIXME: don't know why (True, False) is the best solution...
if(XmuLookupStandardColormap(display, screen_num, visual->visualid, colorDepth, XA_RGB_BEST_MAP, True, False) == 0)
org::ibex::Platform::criticalAbort(JvNewStringLatin1("ERROR: XmuLookupStandardColormap failed"));
-
XStandardColormap* best_map_info = NULL;
int count;
if (XGetRGBColormaps(display, RootWindow(display, screen_num), &best_map_info, &count, XA_RGB_BEST_MAP) == 0)
if (WMRunModalFilePanelForDirectory(oPanel, NULL, buf, /*title*/ NULL, NULL) != True) return NULL;
return JvNewStringLatin1(WMGetFilePanelFileName(oPanel));
}
+ return NULL;
}
-
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
}
}
+