mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gdbus: Fix some compiler warnings
Code appears to have been copy/pasted from a bit which used _object, but I think it's clearer to always use the "self" parameter anyways.
This commit is contained in:
parent
a335fd1de8
commit
2aa97e2847
@ -251,7 +251,7 @@ g_dbus_object_manager_client_get_property (GObject *_object,
|
||||
break;
|
||||
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec);
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (manager, prop_id, pspec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -310,7 +310,7 @@ g_dbus_object_manager_client_set_property (GObject *_object,
|
||||
break;
|
||||
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec);
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (manager, prop_id, pspec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ g_dbus_object_proxy_get_property (GObject *object,
|
||||
break;
|
||||
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec);
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (proxy, prop_id, pspec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -130,7 +130,7 @@ g_dbus_object_proxy_set_property (GObject *object,
|
||||
break;
|
||||
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec);
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (proxy, prop_id, pspec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user