#include <gtk/gtk.h>
#include <glib-object.h>

typedef struct {
	GtkIconViewClass parent_class;
} FooIconViewClass;
typedef struct {
	GtkIconView parent_object;
} FooIconView;

G_DEFINE_TYPE(FooIconView, foo_icon_view, GTK_TYPE_ICON_VIEW)

static void
foo_icon_view_class_init (FooIconViewClass *klass) {}

static void
foo_icon_view_init (FooIconView *view)
{
	g_assert (GTK_IS_CELL_LAYOUT (view));

	GtkCellRenderer *pixbuf_cell = gtk_cell_renderer_pixbuf_new ();

	gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (view),
	      	  		    pixbuf_cell,
	      			    FALSE);
}

main ()
{
	gtk_init (NULL, NULL);

	g_object_new (foo_icon_view_get_type(), NULL);

	return 0;
}
