Benjamin Otte
7918eaf677
picture: Don't cause warnings on load failures
...
When a file set via gtk_picture_set_file() can't be loaded, just
silently don't load it.
Reftest picture-load-invalid-file added for that case.
2019-03-29 09:56:52 +01:00
Benjamin Otte
6e19fb7b36
picture: Use new snapshot transforms
2019-02-21 19:47:28 +01:00
Timm Bäder
b4f2a3416e
picture: Avoid some unnecessary signal connections
...
We don't need to ever invalidate the picture size if the paintable tells
us its size is static. Same for the contents.
2018-12-31 12:44:02 +01:00
Timm Bäder
ec576088bb
picture: Fix doc typo
2018-08-25 08:06:28 +02:00
Timm Bäder
af8fe182c8
Fix a few documentation warnings
2018-07-08 09:41:15 +02:00
Timm Bäder
346ec706f7
picture: Fix up some docs
...
Use nullable instead of allow-none consistently, remove trailing
whitespace and fix some c&p problems.
2018-06-18 17:35:03 +02:00
Rico Tzschichholz
b1f934d3b0
picture: Fix g-i annotation warning
2018-06-13 13:08:28 +02:00
Benjamin Otte
a34a5df674
picture: Don't use g_str_equal() with potential NULLs
2018-06-10 02:56:18 +02:00
Benjamin Otte
6546ef3459
picture: Introduce
...
This commit introduces GtkPicture, which is supposed to complement
GtkImage.
GtkImage will be adapted to always display an icon, while
GtkPicture displays regular imagery.
2018-06-10 02:23:02 +02:00