~toabctl/modemmanager/trunk

Viewing all changes in revision 5359.

  • Committer: Aleksander Morgado
  • Author(s): Eric Caruso
  • Date: 2018-02-21 11:41:20 UTC
  • Revision ID: git-v1:d416ea491d88b2b3bb4e5cd8077e0b758bcfad2e
mm-base-manager: remove element from hastable by key, not value

The hashtable is keyed on the UID of the MMDevice, and its hash
function is g_str_hash. We shouldn't be passing a GObject into
g_hash_table_remove because calling g_str_hash on an MMDevice is
wrong.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: