Re: Cross platform development

2017-03-17 Thread Michael Torrie
On 03/17/2017 04:02 PM, Dirk Gottschalk via gtk-app-devel-list wrote: > 1. Which DLLs do i have to copy from the bin directory of MinGW for my > GTK+-Application. I don't want to install MinGW on all Workstations > where the app should rum. AFAIK it is enough to copy the DLLs into the > application

Fwd: Re: Cross platform development

2017-03-17 Thread michinari.nukazawa
Oops! sorry I forget CC for gtk-app-devel-list. Thanks. Forwarded Message Subject:Re: Cross platform development Date: Sat, 18 Mar 2017 08:54:53 +0900 From: michinari.nukazawa To: Dirk Gottschalk Hi Dirk. I'm developing vecterion by GTK+-3 for Linux an

Cross platform development

2017-03-17 Thread Dirk Gottschalk via gtk-app-devel-list
Hello, I'm developing a multi platform application with GTK+ for Windows and Linux. I'am using autotools and MinGW from my distributions Repository (Fedora). Now my questions: 1. Which DLLs do i have to copy from the bin directory of MinGW for my GTK+-Application. I don't want to install MinGW

Check if a resource exists

2017-03-17 Thread Iñigo Martínez
Hello, Recently when dealing with css providers I have been trying to figure out a way to check if a given resource exists. This is something that can be achieved by using the error parameter in some functions[0] in GTK 3.0 but it does not exist anymore in GTK 4.0. I could create a GFile with a r

Re: Seperating Multiple processes

2017-03-17 Thread Eric Cashon via gtk-app-devel-list
Some follow up on this. If you are starting a separate process to run your transcoding you need to use an async version of your run_cmd(). Otherwise the program will wait until the function returns and bind up the main glib thread if the function takes a while. This might be the easiest way t

Re: Unusual behavior of locale switch in GTK2.0 application

2017-03-17 Thread Igor Chetverovod
Hello again, I found solution here: https://mail.gnome.org/archives/gtk-app-devel-list/2008-May/msg00077.html " ... The code in the GNU gettext-runtime that decides what message catalogs to use calls getenv() to check for values of LC_ALL or LANG environment variables. So, what you should do is si

Unusual behavior of locale switch in GTK2.0 application

2017-03-17 Thread Igor Chetverovod
Hello All, About 5 years ago a had developped win32 application which is using 2 locales: En and Ru. Application is using GTK v2.24.10, glib v.2.28.8. Lacalization is based on get_text() function and dictionaries genereted by Poedit. Nullsoft NSIS v3.x script is used for installator generation.