Commit 34d6cc9e authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

handle gimp_viewable_get_pixbuf() returning NULL. Fixes bug #171827.

2005-03-28  Sven Neumann  <sven@gimp.org>

	* app/dialogs/resize-dialog.c (resize_dialog_new): handle
	gimp_viewable_get_pixbuf() returning NULL. Fixes bug #171827.
parent 6ee2dbf0
2005-03-28 Sven Neumann <sven@gimp.org>
* app/dialogs/resize-dialog.c (resize_dialog_new): handle
gimp_viewable_get_pixbuf() returning NULL. Fixes bug #171827.
2005-03-26 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_find_scripts):
......
......@@ -261,7 +261,8 @@ resize_dialog_new (GimpViewable *viewable,
gimp_viewable_get_preview_size (viewable, 200, FALSE, TRUE, &width, &height);
pixbuf = gimp_viewable_get_pixbuf (viewable, width, height);
gimp_offset_area_set_pixbuf (GIMP_OFFSET_AREA (private->area), pixbuf);
if (pixbuf)
gimp_offset_area_set_pixbuf (GIMP_OFFSET_AREA (private->area), pixbuf);
g_signal_connect (private->area, "offsets_changed",
G_CALLBACK (offsets_changed),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment