mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +01:00
Merge branch 'g-win32-app-info-fixes' into 'main'
GWin32AppInfo: Add missing g_spawn_close_pid See merge request GNOME/glib!2881
This commit is contained in:
commit
24572c93c2
@ -4798,6 +4798,7 @@ emit_launched (GAppLaunchContext *context,
|
|||||||
GVariant *platform_data = make_platform_data (*pid);
|
GVariant *platform_data = make_platform_data (*pid);
|
||||||
g_signal_emit_by_name (context, "launched", info, platform_data);
|
g_signal_emit_by_name (context, "launched", info, platform_data);
|
||||||
g_variant_unref (platform_data);
|
g_variant_unref (platform_data);
|
||||||
|
g_spawn_close_pid (*pid);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -4815,7 +4816,7 @@ emit_launched (GAppLaunchContext *context,
|
|||||||
(GDestroyNotify) emit_launched_data_free);
|
(GDestroyNotify) emit_launched_data_free);
|
||||||
}
|
}
|
||||||
|
|
||||||
*pid = 0;
|
*pid = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user