Re: "Program Files" folder

2011-04-21 Thread Mike Ma
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Emmas says: > I know that glib offers a function called g_get_home_dir() which returns the user's home folder on the relevant platform. Is there any similar function that will give me the default folder for installing applications? For example, o

Re: GTK3 porting problem (clipboard)

2011-03-10 Thread Mike Ma
于 2011年03月10日 20:44, Miroslav Rajcic 写道: I resolved the majority of the the issues when porting my program from GTK 2.x to GTK 3.x. Unfortunately I still have one issue left: when compiling the program on Feodra 15 alpha (gcc 4.6, GTK3 v3.0.2) I get these errors: ./src/clipboard.cpp:442:38:

Re: Can g_error() write logs to files?

2011-03-05 Thread Mike Ma
于 2011年03月05日 17:33, David Nečas 写道: On Sat, Mar 05, 2011 at 02:13:20PM +0800, Mike Ma wrote: I want g_error() to write messages to files, because released edition shouldn't to print any messages on terminal. But if find any bugs, should to find error messages to send support team. I

Can g_error() write logs to files?

2011-03-04 Thread Mike Ma
Hi, all! I want g_error() to write messages to files, because released edition shouldn't to print any messages on terminal. But if find any bugs, should to find error messages to send support team. I have read'd GLib sources, but not find any useful information. How do I use g_error () to write err