2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_best_fit):
Do not try to best fit if the view is not realized
+2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
+
+ * shell/ev-view.c: (ev_view_best_fit):
+
+ Do not try to best fit if the view is not realized
+
2005-02-20 Kostas Papadimas <pkst@gnome.org>
* configure.ac (ALL_LINGUAS): Added "el" (Greek).
int width, height;
GtkBorder border;
- if (view->document == NULL)
+ if (!GTK_WIDGET_REALIZED (view) || view->document == NULL)
return;
width = height = 0;