Skip to content
  • Thomas Haller's avatar
    all: use nm_clear_g_dbus_connection_signal() helper · 309271ac
    Thomas Haller authored
    I also like this because it's non-obvious that subscription IDs from
    GDBusConnection are "guint" (contrary to signal handler IDs which are
    "gulong"). So, by using this API you get a compiler error when using the
    wrong type.
    In the past, when switching to nm_clear_g_signal_handler() this uncovered
    multiple bugs where the wrong type was used to hold the ID.
    309271ac