Skip to content
  • Timm Bäder's avatar
    gappinfo: Clear previously set error before calling portal · 3e218797
    Timm Bäder authored
    Otherwise, we might end up returning TRUE from
    g_app_info_launch_default_for_uri but with a set error parameter. This
    will lead to confusing results depending on how the caller checks for
    errors. Checking error != NULL indicats the call failed but checking the
    return value indicates that it succeeded.
    3e218797