Mercurial > geeqie
comparison src/info.c @ 531:1149a7b0a3d7
cleanup: use image_get_image_size
author | nadvornik |
---|---|
date | Tue, 29 Apr 2008 18:12:49 +0000 |
parents | 5212d4fed37f |
children | 5b127951daa1 |
comparison
equal
deleted
inserted
replaced
530:1d67ef911fa8 | 531:1149a7b0a3d7 |
---|---|
236 GdkPixbuf *pixbuf; | 236 GdkPixbuf *pixbuf; |
237 gint width, height; | 237 gint width, height; |
238 | 238 |
239 if (id->image->unknown) return; | 239 if (id->image->unknown) return; |
240 | 240 |
241 pixbuf_renderer_get_image_size(PIXBUF_RENDERER(id->image->pr), &width, &height); | 241 image_get_image_size(id->image, &width, &height); |
242 | 242 |
243 buf = g_strdup_printf("%d x %d", width, height); | 243 buf = g_strdup_printf("%d x %d", width, height); |
244 gtk_label_set_text(GTK_LABEL(tab->label_dimensions), buf); | 244 gtk_label_set_text(GTK_LABEL(tab->label_dimensions), buf); |
245 g_free(buf); | 245 g_free(buf); |
246 | 246 |