Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Make Value APIs safer and remove redundancies #238

Merged
merged 2 commits into from
Jan 23, 2016
Merged

Make Value APIs safer and remove redundancies #238

merged 2 commits into from
Jan 23, 2016

Conversation

gkoz
Copy link
Member

@gkoz gkoz commented Jan 23, 2016

No description provided.

gkoz added 2 commits January 23, 2016 01:58
In `set_value` check that the column number is valid and the value type is appropriate.
Remove `set_column_types` -- it only works in very limited circumstances.
Remove `set_string` -- `set_value` supports setting string values ergonomically.
[breaking change]
@gkoz gkoz changed the title Fix Value breakage Make Value APIs safer and remove redundancies Jan 23, 2016
@gkoz
Copy link
Member Author

gkoz commented Jan 23, 2016

While meddling with set_value it seems I should probably change it to set...

@GuillaumeGomez
Copy link
Member

I agree. Since similar changes like this have been made all around, why not here as well?

GuillaumeGomez added a commit that referenced this pull request Jan 23, 2016
Make `Value` APIs safer and remove redundancies
@GuillaumeGomez GuillaumeGomez merged commit e8e455b into gtk-rs:master Jan 23, 2016
EPashkin pushed a commit to EPashkin/gtk that referenced this pull request Apr 18, 2016
Replace match...Err block with equivalent unwrap()
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants