mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 05:20:08 +01:00
glib-aux/trivial: rename nm_ref_string_equals_str() to nm_ref_string_equal_str()
This commit is contained in:
parent
96d9baacdb
commit
1c00330a7f
2 changed files with 2 additions and 2 deletions
|
|
@ -1911,7 +1911,7 @@ _properties_changed_main(NMSupplicantInterface *self, GVariant *properties)
|
|||
|
||||
if (nm_g_variant_lookup(properties, "CurrentBSS", "&o", &v_s)) {
|
||||
v_s = nm_dbus_path_not_empty(v_s);
|
||||
if (!nm_ref_string_equals_str(priv->current_bss, v_s)) {
|
||||
if (!nm_ref_string_equal_str(priv->current_bss, v_s)) {
|
||||
nm_ref_string_unref(priv->current_bss);
|
||||
priv->current_bss = nm_ref_string_new(v_s);
|
||||
do_notify_current_bss = TRUE;
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ nm_ref_string_cmp(NMRefString *a, NMRefString *b)
|
|||
#define NM_CMP_DIRECT_REF_STRING(a, b) NM_CMP_RETURN_DIRECT(nm_ref_string_cmp((a), (b)))
|
||||
|
||||
static inline gboolean
|
||||
nm_ref_string_equals_str(NMRefString *rstr, const char *str)
|
||||
nm_ref_string_equal_str(NMRefString *rstr, const char *str)
|
||||
{
|
||||
if (!str)
|
||||
return (!!rstr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue