Gtk-WARNING **: Could not find signal handler



Hi,

I have the same problem of this topic 
https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/msg00037.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", &error ) )
     {
         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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]