mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-12 20:05:48 +01:00
*** empty log message ***
This commit is contained in:
@@ -975,6 +975,18 @@ void testDragAndDrop(WMScreen *scr)
|
||||
|
||||
#include "WUtil.h"
|
||||
|
||||
void testUD()
|
||||
{
|
||||
WMUserDefaults *defs;
|
||||
char str[32];
|
||||
|
||||
defs = WMGetStandardUserDefaults();
|
||||
|
||||
sprintf(str, "TEST DATA");
|
||||
puts(str);
|
||||
WMSetUDStringForKey(defs, str, "testKey");
|
||||
puts(str);
|
||||
}
|
||||
|
||||
|
||||
int main(int argc, char **argv)
|
||||
@@ -986,6 +998,8 @@ int main(int argc, char **argv)
|
||||
/* Initialize the application */
|
||||
WMInitializeApplication("Test", &argc, argv);
|
||||
|
||||
testUD();
|
||||
|
||||
/*
|
||||
* Open connection to the X display.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user