diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2022-01-24 01:20:37 +0100 | 
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2022-01-24 02:48:38 +0100 | 
| commit | 991e74b99bbf344effe456f71c544a284f7afe14 (patch) | |
| tree | 30093c454c7b4e7874e11153aa19c52c9e72a7bf /fiv-view.h | |
| parent | 38670428dacaf44525db3710c8acea1bb543eab6 (diff) | |
| download | fiv-991e74b99bbf344effe456f71c544a284f7afe14.tar.gz fiv-991e74b99bbf344effe456f71c544a284f7afe14.tar.xz fiv-991e74b99bbf344effe456f71c544a284f7afe14.zip  | |
Redirect image open failure messages
Pop-up dialogs are quite annoying, as is not being able to
iterate over broken images.
This will also be useful for warnings and asynchronous loading.
Diffstat (limited to 'fiv-view.h')
| -rw-r--r-- | fiv-view.h | 3 | 
1 files changed, 2 insertions, 1 deletions
@@ -23,7 +23,8 @@  G_DECLARE_FINAL_TYPE(FivView, fiv_view, FIV, VIEW, GtkWidget)  /// Try to open the given file, synchronously, to be displayed by the widget. -gboolean fiv_view_open(FivView *self, const gchar *uri, GError **error); +/// The current image is cleared on failure. +gboolean fiv_view_set_uri(FivView *self, const gchar *uri);  // And this is how you avoid glib-mkenums.  typedef enum _FivViewCommand {  | 
