mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 06:32:10 +01:00
Fix thinko
When replacing strcmp() with g_variant_is_of_type(), remove the "== 0" part! Found by Colin Walters.
This commit is contained in:
parent
0ed183b572
commit
d8dca11733
@ -407,7 +407,7 @@ g_application_register_with_data (GApplication *application,
|
||||
g_return_if_fail (application->priv->appid != NULL);
|
||||
g_return_if_fail (application->priv->is_remote);
|
||||
g_return_if_fail (platform_data == NULL
|
||||
|| g_variant_is_of_type (platform_data, G_VARIANT_TYPE ("a{sv}")) == 0);
|
||||
|| g_variant_is_of_type (platform_data, G_VARIANT_TYPE ("a{sv}")));
|
||||
|
||||
if (!_g_application_platform_acquire_single_instance (application, NULL))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user