win32 (via Wine): 'image-missing' not present in theme Adwaita

2017-02-28 Thread Norbert de Jonge
Hi,

I'm running my ported GTK+ application via Wine, and it keeps throwing:
-
Gtk-WARNING **: Error loading theme icon 'image-missing' for stock:
Icon 'image-missing' not present in theme Adwaita
-

How can I get rid of this?

I've already tried adding
usr/share/icons/Adwaita/.../status/image-missing.png
and
usr/share/icons/gnome/.../status/image-missing.png
to the program's directory, but that doesn't fix it.

=

Another, unrelated, question.

Question for those of you porting to Windows: I'm using ShellExecute()
where I use fork()/execl() on GNU/Linux, and ShellExecute() keeps
throwing me ERROR_BAD_FORMAT.

According to
https://msdn.microsoft.com/en-us/library/windows/desktop/bb762153(v=vs.85).aspx
this means "The .exe file is invalid (non-Win32 .exe or error in .exe
image)."

But I've double-checked and and it's definitely a 32-bit executable:
-
PE32 executable (GUI) Intel 80386, for MS Windows, UPX compressed
-

I've tried 3 different Wine versions (staging, devel and repo),
and tried fixing it with WINEARCH=win32. Nothing fixes it.
you.

Best regards,
Norbert
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Gtk-WARNING **: Could not find signal handler

2017-02-28 Thread Tilo Villwock
Well I don't know what else I could say. Either use

gtk_builder_add_callback_symbol(...)

to add all the symbols manually or make sure you can link against
gmodule-export-2.0 which on ARM probably means you have to compile and
install it yourself.

If you have installed it and your linker still can't find it then you
probably need to run ldconfig to update your cache.

--Tilo

Am Montag, den 27.02.2017, 18:46 + schrieb Rúben Rodrigues:
> Please help me...
> 
> I lost so many hours with this error.. This should work, because the 
> same code works in other machine.. But in raspberry pi don't..
> 
> Thanks
> 
> 
> Às 15:19 de 27/02/2017, Rúben Rodrigues escreveu:
> > Hi,
> > 
> > I have the same problem of this topic
> > https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/ms
> > g00037.html
> > 
> > I see very similar problems, but didn't find any resolution.
> > 
> > I get this error in when i'm debuugin gtk app : Gtk-WARNING **:
> > Could
> > not find signal handler
> > 
> > I make this in my code
> > 
> > if( ! gtk_builder_add_from_file( builder, "ui.glade",  ) )
> >   {
> >   g_warning( "%s", error->message );
> >   g_free( error );
> >   return( 1 );
> >   }
> > 
> >   /* Allocate data structure */
> >   data = g_slice_new( ChData );
> > 
> >   /* Connect signals */
> >   gtk_builder_connect_signals( builder, NULL );
> > 
> > Because of this, all signals configured in glade do not work.
> > The documentation at
> > https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder
> > -connect-signals
> > suggests that i should be linking against gmodule-export-2.0, but
> > when i
> > try this, i get this error:
> >    /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-
> > gnueabihf/bin/ld: cannot find -lgmodule-export-2.0
> > 
> > Thanks
> > 
> > ---
> > Este e-mail foi verificado em termos de vírus pelo software
> > antivírus Avast.
> > https://www.avast.com/antivirus
> > 
> > ___
> > gtk-app-devel-list mailing list
> > gtk-app-devel-list@gnome.org
> > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> 
> 
> ---
> Este e-mail foi verificado em termos de vírus pelo software antivírus
> Avast.
> https://www.avast.com/antivirus
> 
> ___
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list