Browse Source

docs: Fix obs_sceneitem_get_group signature

(cherry picked from commit df990192b2582f9b254837adb3c4aed4d61b479d)
Lev Leontev 2 years ago
parent
commit
8eba188708
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/sphinx/reference-scenes.rst

+ 2 - 1
docs/sphinx/reference-scenes.rst

@@ -725,10 +725,11 @@ Scene Item Group Functions
 
 
 ---------------------
 ---------------------
 
 
-.. function:: obs_sceneitem_t *obs_sceneitem_get_group(obs_sceneitem_t *item)
+.. function:: obs_sceneitem_t *obs_sceneitem_get_group(obs_scene_t *scene, obs_sceneitem_t *item)
 
 
    Returns the parent group of a scene item.
    Returns the parent group of a scene item.
 
 
+   :param scene: Scene to find the group within
    :param item: Scene item to get the group of
    :param item: Scene item to get the group of
    :return:     The parent group of the scene item, or *NULL* if not in
    :return:     The parent group of the scene item, or *NULL* if not in
                 a group
                 a group