Files
ModemManager/src
Ben Chan 627ef274df plugin: check error returned by g_task_propagate_error instead
mm_plugin_supports_port_finish directly casts the value returned by
g_task_propagate_int to MMPluginSupportsResult enum value, which
implicitly assumes MM_PLUGIN_SUPPORTS_PORT_UNKNOWN equals to -1.
Instead of relying on such an implicit assumption, this patch modifies
the code to check if the GError argument to g_task_propagate_error is
populated instead.
2017-07-07 10:23:46 +02:00
..
2017-06-21 13:08:17 +02:00
2017-06-21 13:08:17 +02:00