Re: [Gtk-osx-users] ige-mac-bundler and gtk_image_new_from_file
- From: Richard Procter <richard n procter gmail com>
- To: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
- Subject: Re: [Gtk-osx-users] ige-mac-bundler and gtk_image_new_from_file
- Date: Fri, 25 Mar 2011 07:46:47 +1100
On 25/03/2011, at 7:10 AM, Shawn Bakhtiar wrote:
>
> The code in question:
>
> /* The Logo */
> g_object_get((GObject*)self->display,"main_logo",&file_name,NULL);
> logo = gtk_image_new_from_file (file_name);
> gtk_box_pack_start(main_hbox,logo,FALSE,FALSE,0);
> gtk_widget_show (logo);
>
>
> The code compiles and runs fine when I am in the jhbuild shell, the logo displays with no issues. However, after having created a bundle file using ige-mac-integration, all the files that use the ciaro_* functions work fine (load and display all images correctly, except for this one, and the only real difference is that I use gtk_image_new_from_file to create a widget to pack, instead of drawing it using cairo_* functions.
>
> [snip] - unbundled
> Main Logo: /Users/shawn/gtk/inst/share/isiod/pixmaps/ISILOGO-TRANS.png
>
> [snip] - bundled
> Main Logo: ///Users/shawn/odie_bundle/orderdesk.app/Contents/Resources/share/isiod/pixmaps/ISILOGO-TRANS.png
Is this the measured value of file_name when running bundled?
> Any ideas?
Check the file permissions? Are there any relevant warnings in the syslog?
regards,
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]