mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
xml-formatter: fix cb of ::error-loading-asset
Corrected typo that attached project_loaded_cb, rather than error_loading_asset_cb, to ::error-loading-asset, which meant data.error would be left unset if an error occurred in loading.
This commit is contained in:
parent
4d60fcd7ff
commit
bd3518abc5
1 changed files with 1 additions and 1 deletions
|
@ -1170,7 +1170,7 @@ _save_subproject (GESXmlFormatter * self, GString * str, GESProject * project,
|
|||
data.ml = g_main_loop_new (context, TRUE);
|
||||
g_signal_connect (subproject, "loaded", (GCallback) project_loaded_cb, &data);
|
||||
g_signal_connect (subproject, "error-loading-asset",
|
||||
(GCallback) project_loaded_cb, &data);
|
||||
(GCallback) error_loading_asset_cb, &data);
|
||||
g_main_loop_run (data.ml);
|
||||
|
||||
g_signal_handlers_disconnect_by_func (subproject, project_loaded_cb, &data);
|
||||
|
|
Loading…
Reference in a new issue