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

Addons: Remove obsolete GTK_CHECK_VERSION checks #1358

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

eht16
Copy link
Member

@eht16 eht16 commented Jun 9, 2024

No description provided.

Copy link
Member

@b4n b4n left a comment

Choose a reason for hiding this comment

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

LGTM apart from the comment

Comment on lines 655 to 657
#if ! GTK_CHECK_VERSION(2, 10, 0)
gtk_widget_hide(check_systray);
#endif
Copy link
Member

Choose a reason for hiding this comment

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

Looks backwards, should you also remove the body? I guess the idea was not to add the option when the feature wasn't supported, wasn't it?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is so me...you are completely right.
Thanks for spotting, fixed.

Funny thing, this attempt to hide the option didn't work at all because in Geany itself we call gtk_widget_show_all() when creating the plugin preferences dialog and so it was shown again.
Anyway, GTK2 is long time ago.

Copy link
Member

@b4n b4n left a comment

Choose a reason for hiding this comment

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

LGBI with a little squashing

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

Successfully merging this pull request may close these issues.

None yet

2 participants