mirror of
https://gitlab.gnome.org/GNOME/eog
synced 2024-10-19 14:34:42 +00:00
Initialize the loader and rsvg_handle variables, otherwise we'll b0rk if
2002-06-20 Federico Mena Quintero <federico@ximian.com> * viewer/eog-image.c (load_image_from_file): Initialize the loader and rsvg_handle variables, otherwise we'll b0rk if we can't open the URI. Fixes #85263.
This commit is contained in:
parent
d76aecda80
commit
f326543150
|
@ -1,3 +1,9 @@
|
|||
2002-06-20 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* viewer/eog-image.c (load_image_from_file): Initialize the loader
|
||||
and rsvg_handle variables, otherwise we'll b0rk if we can't open
|
||||
the URI. Fixes #85263.
|
||||
|
||||
2002-06-13 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Fixes #85216.
|
||||
|
|
|
@ -288,6 +288,9 @@ load_image_from_file (BonoboPersistFile *pf, const CORBA_char *text_uri,
|
|||
|
||||
uri = gnome_vfs_uri_new (text_uri);
|
||||
|
||||
loader = NULL;
|
||||
rsvg_handle = NULL;
|
||||
|
||||
/* open uri */
|
||||
result = gnome_vfs_open_uri (&handle, uri, GNOME_VFS_OPEN_READ);
|
||||
if (result != GNOME_VFS_OK)
|
||||
|
|
Loading…
Reference in a new issue