瀏覽代碼

docs: Fix obs_sceneitem_get_group signature

Lev Leontev 2 年之前
父節點
當前提交
df990192b2
共有 1 個文件被更改,包括 2 次插入1 次删除
  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