Skip to content

Replace deprecated set_margin method - #1482

Merged
ice0 merged 2 commits into
synfig:masterfrom
FirasH:deprecated-1
Jun 12, 2020
Merged

ice0 merged 2 commits into
synfig:masterfrom
FirasH:deprecated-1

Conversation

@FirasH

@FirasH FirasH commented Jun 9, 2020

Copy link
Copy Markdown
Member

set_margin_left() and set_margin_right() are now deprecated.
Using set_margin_start() and set_margin_end() instead.

@rodolforg

Copy link
Copy Markdown
Contributor

These methods are in GTKmm since 3.12 (april 2014).
Is it ok? :) @morevnaproject @ice0

@FirasH

FirasH commented Jun 10, 2020

Copy link
Copy Markdown
Member Author

In Synfig Studio there are various places where deprecated methods w.r.t. the current stable gtkmm are used.
Maybe we should set a minimum gtk version and slowly update the code?

@ice0

ice0 commented Jun 10, 2020 •

Copy link
Copy Markdown
Collaborator

Maybe we should set a minimum gtk version and slowly update the code?

I will check minimum required version.

@morevnaproject

Copy link
Copy Markdown
Member

These methods are in GTKmm since 3.12 (april 2014).

Yes, this is perfectly fine!

If I remember correctly, we want to be compatible with Gtk >= 3.14 .

@morevnaproject

Copy link
Copy Markdown
Member

..and our Windows/Linux/OSX packages are using Gtk 3.22.

@rodolforg

Copy link
Copy Markdown
Contributor

@rodolforg

Copy link
Copy Markdown
Contributor

@rodolforg

Copy link
Copy Markdown
Contributor

@FirasH please squash both commits :)

@ice0
ice0 merged commit b7884bb into synfig:master Jun 12, 2020
@ice0

ice0 commented Jun 12, 2020

Copy link
Copy Markdown
Collaborator

Merged. Thank you!

@FirasH
FirasH deleted the deprecated-1 branch June 13, 2020 12:06
@rodolforg rodolforg mentioned this pull request Sep 3, 2020
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.

4 participants