aboutsummaryrefslogtreecommitdiff
path: root/helper/test-loader.c
blob: 6a06248bdea1a74b1223f8aaa564bd6da715b052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#include <gtk/gtk.h>
#include "indicator-image-helper.h"

int
main (int argv, char * argc[])
{
	gtk_init(&argv, &argc);

	GtkImage * image = indicator_image_helper(argc[1]);

	GdkPixbuf * pixbuf = gtk_image_get_pixbuf(image);

	g_debug("Pixbuf width: %d", gdk_pixbuf_get_width(pixbuf));
	g_debug("Pixbuf height: %d", gdk_pixbuf_get_height(pixbuf));
	
	return;
}