Commit 68ed1da1 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

we have a bug somewhere; this function shouldn't be called for a view w/o

2003-10-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainerview.c (gimp_container_view_get_preview):
	we have a bug somewhere; this function shouldn't be called for a
	view w/o a container. Added a g_return_if_fail() to avoid a crash.
parent 3a8ee221
2003-10-17 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcontainerview.c (gimp_container_view_get_preview):
we have a bad bug somewhere; this function shouldn't be called for
a view w/o a container. Added a g_return_if_fail() to avoid a crash.
2003-10-17 Sven Neumann <sven@gimp.org>
* plug-ins/gfig/gfig.c: reverted most of Maurits changes (not the
......@@ -737,6 +737,8 @@ gimp_container_view_get_preview (GimpDocked *docked,
gint border_width = 1;
const gchar *prop_name;
g_return_val_if_fail (view->container != NULL, NULL);
gtk_icon_size_lookup (size, &width, &height);
prop_name = gimp_context_type_to_prop_name (view->container->children_type);
......
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