comparison src/layout.c @ 531:1149a7b0a3d7

cleanup: use image_get_image_size
author nadvornik
date Tue, 29 Apr 2008 18:12:49 +0000
parents bf9c9e37adf4
children 32cf2e7992fd
comparison
equal deleted inserted replaced
530:1d67ef911fa8 531:1149a7b0a3d7
596 } 596 }
597 else 597 else
598 { 598 {
599 gint width, height; 599 gint width, height;
600 600
601 pixbuf_renderer_get_image_size(PIXBUF_RENDERER(lw->image->pr), &width, &height); 601 image_get_image_size(lw->image, &width, &height);
602 text = g_strdup_printf(_("( %d x %d ) %s bytes"), 602 text = g_strdup_printf(_("( %d x %d ) %s bytes"),
603 width, height, b); 603 width, height, b);
604 } 604 }
605 605
606 gtk_label_set_text(GTK_LABEL(lw->info_details), text); 606 gtk_label_set_text(GTK_LABEL(lw->info_details), text);