mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
prefs: Allow no-op listener removal
Allow removing a prefs handler that was already removed. This allows us to remove prefs from the dispose function without having to keep track of it in every place.
This commit is contained in:
parent
8e7e1eeef5
commit
14d8aec4b8
@ -860,8 +860,6 @@ meta_prefs_remove_listener (MetaPrefsChangedFunc func,
|
||||
|
||||
tmp = tmp->next;
|
||||
}
|
||||
|
||||
meta_bug ("Did not find listener to remove\n");
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user