Re: GSignalFlags



This is a bug in our doc generator, gtk-doc. There's a flag in that enum, G_SIGNAL_DEPRECATED, which confuses it into thinking the entire enum is deprecated. It's not. I think the bug is fixed in the latest version of gtk-doc.


On Fri, Aug 15, 2014 at 3:35 PM, Emmanuel Pacaud <emmanuel gnome org> wrote:
Hi,

The documentation of Glib says:

"GSignalFlags is deprecated and should not be used in newly-written
code."

But GSignalFlags is the type of one of the parameters of g_signal_new. I
did not find in the documentation how to avoid the use of GSignalFlags.

In my code, I have two calls to g_signal_new, using G_SIGNAL_RUN_LAST.
If I replace this value by 0, I get a warning on every call to
g_signal_emit.

Any idea ?

        Thanks,

                Emmanuel.

_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list



--
  Jasper


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