Re: GSignalFlags

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

 



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@xxxxxxxxx> 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@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list



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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux