1
0
Fork 0

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:
Jonas Ådahl 2018-06-29 19:11:50 +02:00
parent 8e7e1eeef5
commit 14d8aec4b8

View file

@ -860,8 +860,6 @@ meta_prefs_remove_listener (MetaPrefsChangedFunc func,
tmp = tmp->next;
}
meta_bug ("Did not find listener to remove\n");
}
static void