Commit b700d226 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

remove g_return_val_if_fail(), this is not a public function.

2008-08-29  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppreviewarea.c (gimp_preview_area_expose):
	remove g_return_val_if_fail(), this is not a public function.


svn path=/trunk/; revision=26816
parent d9bc8db7
2008-08-29 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimppreviewarea.c (gimp_preview_area_expose):
remove g_return_val_if_fail(), this is not a public function.
2008-08-29 Michael Natterer <mitch@gimp.org> 2008-08-29 Michael Natterer <mitch@gimp.org>
* app/widgets/gimplayertreeview.c * app/widgets/gimplayertreeview.c
......
...@@ -220,14 +220,10 @@ static gboolean ...@@ -220,14 +220,10 @@ static gboolean
gimp_preview_area_expose (GtkWidget *widget, gimp_preview_area_expose (GtkWidget *widget,
GdkEventExpose *event) GdkEventExpose *event)
{ {
GimpPreviewArea *area; GimpPreviewArea *area = GIMP_PREVIEW_AREA (widget);
GdkRectangle rect; GdkRectangle rect;
GdkRectangle render; GdkRectangle render;
g_return_val_if_fail (GIMP_IS_PREVIEW_AREA (widget), FALSE);
area = GIMP_PREVIEW_AREA (widget);
if (! area->buf) if (! area->buf)
return FALSE; return FALSE;
......
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