1 diff -Nrc -x *~ eog-0.6.orig/src/window.c eog-0.6/src/window.c
2 *** eog-0.6.orig/src/window.c Wed Feb 7 11:13:37 2001
3 --- eog-0.6/src/window.c Tue Apr 10 00:07:21 2001
12 g_return_val_if_fail (window != NULL, FALSE);
13 g_return_val_if_fail (IS_WINDOW (window), FALSE);
17 fname = _("Eye of Gnome");
19 gtk_window_set_title (GTK_WINDOW (window), fname);
21 + width = 45 + MIN (gdk_pixbuf_get_width (image->pixbuf),
22 + ((gdk_screen_width () - 45) * 0.8));
23 + width = MAX (width, 261);
25 + gtk_widget_set_usize (GTK_WIDGET (window),
27 + 120 + MIN (gdk_pixbuf_get_height (image->pixbuf),
28 + ((gdk_screen_height () - 120) * 0.8)));
29 + /* printf ("%d %d\n", gdk_pixbuf_get_width (image->pixbuf),
30 + gdk_pixbuf_get_height (image->pixbuf) ); */