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



It tells you to link GModule because you're apparently not adding your
signal handler symbols before calling

    gtk_builder_connect_signals(...)

and thus tries to use introspection to look up the symbols. Unless it's
hundreds of symbols I would suggest you simply call

    gtk_builder_add_callback_symbol(...)

to add all symbols that are referenced in your Glade file.

Also are you actually working on an ARM machine? Otherwise your
toolchain seems messed up.

--Tilo

Am Montag, den 27.02.2017, 15:19 +0000 schrieb Rúben Rodrigues:
Hi,

I have the same problem of this topic 
https://mail.gnome.org/archives/gtk-app-devel-list/2013-December/msg0
0037.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-c
onnect-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


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