* Gtk warnings @ 2009-09-27 14:54 RasikaSrinivasan@gmail.com 2009-09-27 15:28 ` Dmitry A. Kazakov 0 siblings, 1 reply; 6+ messages in thread From: RasikaSrinivasan@gmail.com @ 2009-09-27 14:54 UTC (permalink / raw) Building the GtkAda sample helloworld from the GtkAda distribution gives me the following warnings. Any ideas on the "pango warnings"? I have not changed the file. Thanks, srini ---------------------- C:\Projects\Gtk\helloworld>hello (hello.exe:2020): GLib-WARNING **: Passing a non-NULL package to g_win32_get_package_installation_directory() is deprecated and will not work in GLib after 2.18. (hello.exe:2020): Pango-WARNING **: error reading alias file: C:\GNAT \2009\etc\pango\pango.aliases:4: Line is not of the form KEY=VALUE or KEY+=VALUE ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Gtk warnings 2009-09-27 14:54 Gtk warnings RasikaSrinivasan@gmail.com @ 2009-09-27 15:28 ` Dmitry A. Kazakov 2009-09-27 18:34 ` Srini - 0 siblings, 1 reply; 6+ messages in thread From: Dmitry A. Kazakov @ 2009-09-27 15:28 UTC (permalink / raw) On Sun, 27 Sep 2009 07:54:40 -0700 (PDT), RasikaSrinivasan@gmail.com wrote: > Building the GtkAda sample helloworld from the GtkAda distribution > gives me the following warnings. > > Any ideas on the "pango warnings"? I have not changed the file. Edit the file pango.aliases. Mine looks like: sans = sans sans += "tahoma bitstream cyberbit" helvetica = "tahoma" times="times new roman" -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Gtk warnings 2009-09-27 15:28 ` Dmitry A. Kazakov @ 2009-09-27 18:34 ` Srini - 2009-09-27 19:14 ` Peter C. Chapin 0 siblings, 1 reply; 6+ messages in thread From: Srini - @ 2009-09-27 18:34 UTC (permalink / raw) mine reads the same too. any other ideas? thanks, srini On Sep 27, 11:28 am, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de> wrote: > On Sun, 27 Sep 2009 07:54:40 -0700 (PDT), RasikaSriniva...@gmail.com wrote: > > Building the GtkAda sample helloworld from the GtkAda distribution > > gives me the following warnings. > > > Any ideas on the "pango warnings"? I have not changed the file. > > Edit the file pango.aliases. Mine looks like: > > sans = sans > sans += "tahoma bitstream cyberbit" > helvetica = "tahoma" > times="times new roman" > > -- > Regards, > Dmitry A. Kazakovhttp://www.dmitry-kazakov.de ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Gtk warnings 2009-09-27 18:34 ` Srini - @ 2009-09-27 19:14 ` Peter C. Chapin 2009-09-27 21:16 ` Dmitry A. Kazakov 0 siblings, 1 reply; 6+ messages in thread From: Peter C. Chapin @ 2009-09-27 19:14 UTC (permalink / raw) Srini - <rasikasrinivasan@gmail.com> wrote in news:d79213cb-d527-4441-99c9-7b4316b97cec@g23g2000vbr.googlegroups.com: >> sans = sans >> sans += "tahoma bitstream cyberbit" >> helvetica = "tahoma" >> times="times new roman" There should be spaces around the '=' in in the line times="times new roman" It surprises me that a) This should be necessary. b) Given that it is necessary AdaCore hasn't fixed it. I suppose the issue with (b) is that the warning only shows up on the console so if you only ever launch programs from the GUI you might never notice it. I had this problem with GNAT GPL 2008 and added the spaces as a wild guess. After doing that the warning went away. I'm glad to know I'm not the only person in the world who has observed this odd behavior. Peter ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Gtk warnings 2009-09-27 19:14 ` Peter C. Chapin @ 2009-09-27 21:16 ` Dmitry A. Kazakov 2009-09-27 22:00 ` Srini - 0 siblings, 1 reply; 6+ messages in thread From: Dmitry A. Kazakov @ 2009-09-27 21:16 UTC (permalink / raw) On 27 Sep 2009 19:14:25 GMT, Peter C. Chapin wrote: > Srini - <rasikasrinivasan@gmail.com> wrote in > news:d79213cb-d527-4441-99c9-7b4316b97cec@g23g2000vbr.googlegroups.com: > >>> sans = sans >>> sans += "tahoma bitstream cyberbit" >>> helvetica = "tahoma" >>> times="times new roman" > > There should be spaces around the '=' in in the line > > times="times new roman" > > It surprises me that > > a) This should be necessary. > b) Given that it is necessary AdaCore hasn't fixed it. > > I suppose the issue with (b) is that the warning only shows up on the > console so if you only ever launch programs from the GUI you might never > notice it. I had this problem with GNAT GPL 2008 and added the spaces as a > wild guess. After doing that the warning went away. > > I'm glad to know I'm not the only person in the world who has observed this > odd behavior. Ah, sorry, I forgot that I installed a newer version of Gtk (the one from the GIMP distribution), so my file actually is: courier = "courier new" tahoma = "tahoma,browallia new,mingliu,simhei,gulimche,msgothic,kartika,latha,mangal,raavi" sans = "arial,browallia new,mingliu,simhei,gulimche,msgothic,kartika,latha,mangal,raavi" serif = "times new roman,angsana new,mingliu,simsun,gulimche,msgothic,kartika,latha,mangal,raavi" mono = "courier new,courier monothai,mingliu,simsun,gulimche,msgothic,kartika,latha,mangal,raavi" monospace = "courier new,courier monothai,mingliu,simsun,gulimche,msgothic,kartika,latha,mangal,raavi" It precedes one coming with GtkAda in the PATH. There is another bug in GtkAda distribution. It does not contain gspawn-win32-helper.exe (required for some Glib functions). -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Gtk warnings 2009-09-27 21:16 ` Dmitry A. Kazakov @ 2009-09-27 22:00 ` Srini - 0 siblings, 0 replies; 6+ messages in thread From: Srini - @ 2009-09-27 22:00 UTC (permalink / raw) sorted. turns out there is a c:\gnat\2009\etc\pango directory that comes with gnat. my gtkada was installed at c:\gnat\2009\gtkada which had its own etc directory. so based on the error message, I had attempted to cleanup the pango.aliases under \gnat\2009\gtkada\etc which did not seem to do anything. Hence my confusion. Anyhow, thanks for the pointers, srini On Sep 27, 5:16 pm, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de> wrote: > On 27 Sep 2009 19:14:25 GMT, Peter C. Chapin wrote: > > > > > > > Srini - <rasikasriniva...@gmail.com> wrote in > >news:d79213cb-d527-4441-99c9-7b4316b97cec@g23g2000vbr.googlegroups.com: > > >>> sans = sans > >>> sans += "tahoma bitstream cyberbit" > >>> helvetica = "tahoma" > >>> times="times new roman" > > > There should be spaces around the '=' in in the line > > > times="times new roman" > > > It surprises me that > > > a) This should be necessary. > > b) Given that it is necessary AdaCore hasn't fixed it. > > > I suppose the issue with (b) is that the warning only shows up on the > > console so if you only ever launch programs from the GUI you might never > > notice it. I had this problem with GNAT GPL 2008 and added the spaces as a > > wild guess. After doing that the warning went away. > > > I'm glad to know I'm not the only person in the world who has observed this > > odd behavior. > > Ah, sorry, I forgot that I installed a newer version of Gtk (the one from > the GIMP distribution), so my file actually is: > > courier = "courier new" > tahoma = "tahoma,browallia > new,mingliu,simhei,gulimche,msgothic,kartika,latha,mangal,raavi" > sans = "arial,browallia > new,mingliu,simhei,gulimche,msgothic,kartika,latha,mangal,raavi" > serif = "times new roman,angsana > new,mingliu,simsun,gulimche,msgothic,kartika,latha,mangal,raavi" > mono = "courier new,courier > monothai,mingliu,simsun,gulimche,msgothic,kartika,latha,mangal,raavi" > monospace = "courier new,courier > monothai,mingliu,simsun,gulimche,msgothic,kartika,latha,mangal,raavi" > > It precedes one coming with GtkAda in the PATH. > > There is another bug in GtkAda distribution. It does not contain > gspawn-win32-helper.exe (required for some Glib functions). > > -- > Regards, > Dmitry A. Kazakovhttp://www.dmitry-kazakov.de ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-09-27 22:00 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-09-27 14:54 Gtk warnings RasikaSrinivasan@gmail.com 2009-09-27 15:28 ` Dmitry A. Kazakov 2009-09-27 18:34 ` Srini - 2009-09-27 19:14 ` Peter C. Chapin 2009-09-27 21:16 ` Dmitry A. Kazakov 2009-09-27 22:00 ` Srini -
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox