Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation with clang #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

@CLAassistant
Copy link

CLAassistant commented Jun 10, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@ilya-fedin ilya-fedin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's sad... I'd like to avoid mentions of gi::repository, especially in unused arguments.

@@ -195,7 +195,7 @@ SystemMediaControls::Private::Private()
player().set_loop_status("None");
player().set_rate(1.0);
const auto executeCommand = [=](
GObject::Object,
gi::repository::GObject::Object,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gi::repository::GObject::Object,
auto

Comment on lines +235 to +236
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {
auto,
auto) {

Comment on lines +243 to +244
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {
auto,
auto) {

Comment on lines +250 to +251
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {
auto,
auto) {

@ilya-fedin
Copy link
Contributor

ilya-fedin commented Jun 11, 2023

Another option is to move the using namespace gi::repository; line inside the private namespace. That would be the best outcome if it works.

@ilya-fedin
Copy link
Contributor

@mid-kid do you plan to continue work here?

@mid-kid
Copy link
Author

mid-kid commented Sep 8, 2023

Sorry, I've been busy and I want to prioritize bumping telegram at all. The change is trivial, however.

@ilya-fedin
Copy link
Contributor

Are you sure it's still needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants