diff options
| author | Victor Kareh <[email protected]> | 2019-07-07 07:00:00 -0400 |
|---|---|---|
| committer | monsta <[email protected]> | 2019-07-23 17:37:34 +0300 |
| commit | 8446b73407dd3c9ca0b061d4c87b94e52cf94a85 (patch) | |
| tree | 531589c21ceb68636d9c18fec8a53387aee5e0c5 /src/file-manager | |
| parent | dd2609cd88cfded8f4a5c8d8455f8aaad324b3d9 (diff) | |
| download | caja-8446b73407dd3c9ca0b061d4c87b94e52cf94a85.tar.bz2 caja-8446b73407dd3c9ca0b061d4c87b94e52cf94a85.tar.xz | |
Replace gdkpixbuf with cairo_surfaces in a few more places
Diffstat (limited to 'src/file-manager')
| -rw-r--r-- | src/file-manager/fm-empty-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/file-manager/fm-empty-view.c b/src/file-manager/fm-empty-view.c index 36d76d9d..b0f577f7 100644 --- a/src/file-manager/fm-empty-view.c +++ b/src/file-manager/fm-empty-view.c @@ -57,17 +57,17 @@ fm_empty_view_add_file (FMDirectoryView *view, CajaFile *file, CajaDirectory *di static GTimer *timer = NULL; static gdouble cumu = 0, elaps; FM_EMPTY_VIEW (view)->details->number_of_files++; - GdkPixbuf *icon; + cairo_surface_t *icon; if (!timer) timer = g_timer_new (); g_timer_start (timer); - icon = caja_file_get_icon_pixbuf (file, caja_get_icon_size_for_zoom_level (CAJA_ZOOM_LEVEL_STANDARD), TRUE, 0); + icon = caja_file_get_icon_surface (file, caja_get_icon_size_for_zoom_level (CAJA_ZOOM_LEVEL_STANDARD), TRUE, 0); elaps = g_timer_elapsed (timer, NULL); g_timer_stop (timer); - g_object_unref (icon); + cairo_surface_destroy (icon); cumu += elaps; g_message ("entire loading: %.3f, cumulative %.3f", elaps, cumu); |
