On Tue, 2005-03-22 at 03:12 +0200, Tor Lillqvist wrote:
> In gtksocket.c, we have:
> 
> static void
> gtk_socket_notify (GObject    *object,
>                  GParamSpec *pspec)
> {
>   if (!strcmp (pspec->name, "is_focus"))
>     return;
> 
>   socket_update_focus_in (GTK_SOCKET (object));
> }
> 
> Shouldn't that be "is-focus"? That is what the function actually gets
> called with. Not that it seems to matter on X11. And not on Win32
> either, sigh.

Yes, it should be "is-focus". The names of paramspecs are canonicalized
when registering them, so even if it got registered with "is_focus",
pspec->name will be "is-focus".

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to