Refactor image loading code to allow easier access to pixbuf
authorDaniel P. Berrange <dan@berrange.com>
Fri, 11 Feb 2011 20:29:54 +0000 (20:29 +0000)
committerDaniel P. Berrange <dan@berrange.com>
Fri, 11 Feb 2011 20:29:54 +0000 (20:29 +0000)
commita2d4a66ce0f899a7c11827148821bdbd38c8188b
tree0e785db97c1001d13c1cd1abb540b923401d11ef
parent686c55e1ad5115bac07e65996c5ed9c705d225cb
Refactor image loading code to allow easier access to pixbuf

Directly associate the loaded GdkPixbuf with the EntangleImage
object. This allows multiple UI widget to directly access the
pixbuf without all of them needing to know about the
EntangleImageLoader class. The EntangleCameraManager class
is now in charge of loading/unloading the pixbufs
15 files changed:
src/backend/entangle-image-loader.c
src/backend/entangle-image-loader.h
src/backend/entangle-image.c
src/backend/entangle-image.h
src/backend/entangle-pixbuf-loader.c
src/backend/entangle-pixbuf-loader.h
src/backend/entangle-session.c
src/backend/entangle-thumbnail-loader.c
src/entangle.glade
src/frontend/entangle-camera-manager.c
src/frontend/entangle-image-display.c
src/frontend/entangle-image-display.h
src/frontend/entangle-image-popup.c
src/frontend/entangle-image-popup.h
src/frontend/entangle-session-browser.c