diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-25 09:00:45 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-25 09:00:45 +0000 |
commit | 104671cac3692b816ee3636b778d37d0f4dee485 (patch) | |
tree | 8e36f44d3640770cdaaab807c21a68dead696df2 /src/imageview.c | |
parent | f508f95f0e41c42abd238bbaf45d720d4ae6737b (diff) |
fixed warning of imageview.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@778 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/imageview.c')
-rw-r--r-- | src/imageview.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imageview.c b/src/imageview.c index 312794f7..77f33006 100644 --- a/src/imageview.c +++ b/src/imageview.c @@ -246,6 +246,8 @@ static void size_allocate_cb(GtkWidget *widget,GtkAllocation *allocation, } if (!imageview->scrolledwin->parent) return; + if (!imageview->image_data) + return; imageview_show_image(imageview, NULL, NULL, TRUE); imageview->resizing = TRUE; } |