This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: guile-gtk: problem in "insert-text" signal handling.


Daniel Skarda <0rfelyus at ucw dot cz> writes:
>
>   Another sad part of the story: sgtk_callback_marshall does not now
> the signal name, so all we can do now on guile-gtk part is an ugly
> hack:
>
>    if (n_args == 3 && GTK_FUNDAMENTAL_TYPE (args[0]) == GTK_TYPE_STRING) && ...)

Perhaps the class of the object could be checked too.  If it's a
GtkEditable with string+int+pointer parameters then that be tight
enough to avoid hitting anything else.

>   Please report the bug to Gtk+ folks.

Looks like it's become insert-at-cursor or some such in gtk 2, taking
a just a gchar* which presumably is null-terminated.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]