diff options
Diffstat (limited to 'attic/astro-desktop/applications/images/init.c')
-rw-r--r-- | attic/astro-desktop/applications/images/init.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/attic/astro-desktop/applications/images/init.c b/attic/astro-desktop/applications/images/init.c new file mode 100644 index 0000000..4fab13f --- /dev/null +++ b/attic/astro-desktop/applications/images/init.c @@ -0,0 +1,26 @@ + +#include <glib.h> +#include <libastro-desktop/astro.h> +#include <libastro-desktop/astro-defines.h> +#include <libastro-desktop/astro-application.h> + +#include "astro-images.h" + + +AstroApplication * +astro_application_factory_init () +{ + AstroApplication *app; + GdkPixbuf *pixbuf; + + pixbuf = gdk_pixbuf_new_from_file_at_scale (PKGDATADIR "/icons/images.png", + ASTRO_APPICON_SIZE(), ASTRO_APPICON_SIZE(), + TRUE, + NULL); + + app = astro_images_new ("Images", pixbuf); + + g_debug ("Images application loaded\n"); + + return app; +} |