mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gsignal: Document class init before signals can be looked up
Fixes: #767 Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
c4ec302932
commit
9ca97b8b0b
@ -1224,6 +1224,10 @@ g_signal_stop_emission_by_name (gpointer instance,
|
||||
*
|
||||
* Also tries the ancestors of the given type.
|
||||
*
|
||||
* The type class passed as @itype must already have been instantiated (for
|
||||
* example, using g_type_class_ref()) for this function to work, as signals are
|
||||
* always installed during class initialization.
|
||||
*
|
||||
* See g_signal_new() for details on allowed signal names.
|
||||
*
|
||||
* Returns: the signal's identifying number, or 0 if no signal was found.
|
||||
|
Loading…
Reference in New Issue
Block a user