From: <kr_...@us...> - 2003-05-01 19:35:40
|
Update of /cvsroot/htoolkit/port/src/include In directory sc8-pr-cvs1:/tmp/cvs-serv12134/port/src/include Modified Files: Types.h Log Message: Added proper initialization for libgnome. Unfortunately the initialization requires that the application name should be constant during program execution. That means that the modified 'start' function should have two additional arguments: the application name and the application version (the latest is also required from libgnome for proper initialization). Index: Types.h =================================================================== RCS file: /cvsroot/htoolkit/port/src/include/Types.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Types.h 23 Apr 2003 21:48:57 -0000 1.9 --- Types.h 1 May 2003 19:35:36 -0000 1.10 *************** *** 65,68 **** --- 65,69 ---- #include <pango/pango.h> #include <pango/pangox.h> + #include <gnome.h> typedef GtkWidget *WindowHandle; *************** *** 127,135 **** #endif ! extern void osInit(int DocumentInterface); extern void osStart(); extern void osQuit(); - extern char *osGetProcessTitle(); - extern void osSetProcessTitle(char *CString); #endif --- 128,134 ---- #endif ! extern void osInit(char *appName, char *appVersion, int DocumentInterface); extern void osStart(); extern void osQuit(); #endif |