gimp r26816 - in trunk: . libgimpwidgets
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26816 - in trunk: . libgimpwidgets
- Date: Fri, 29 Aug 2008 15:55:07 +0000 (UTC)
Author: mitch
Date: Fri Aug 29 15:55:07 2008
New Revision: 26816
URL: http://svn.gnome.org/viewvc/gimp?rev=26816&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/libgimpwidgets/gimppreviewarea.c
Modified: trunk/libgimpwidgets/gimppreviewarea.c
==============================================================================
--- trunk/libgimpwidgets/gimppreviewarea.c (original)
+++ trunk/libgimpwidgets/gimppreviewarea.c Fri Aug 29 15:55:07 2008
@@ -220,14 +220,10 @@
gimp_preview_area_expose (GtkWidget *widget,
GdkEventExpose *event)
{
- GimpPreviewArea *area;
+ GimpPreviewArea *area = GIMP_PREVIEW_AREA (widget);
GdkRectangle rect;
GdkRectangle render;
- g_return_val_if_fail (GIMP_IS_PREVIEW_AREA (widget), FALSE);
-
- area = GIMP_PREVIEW_AREA (widget);
-
if (! area->buf)
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]