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

Merged
merged 2 commits into from
Jun 23, 2024

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

@eht16 eht16 merged commit 820fd93 into geany:master Jun 23, 2024
2 checks passed
@eht16 eht16 deleted the addons_remove_obsolete_gtk_check_version branch June 23, 2024 20:51
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.

2 participants