/* gcc -o bo_test `pkg-config --libs --cflags libbonoboui-2.0` bo.c
 */
#include <gtk/gtk.h>
#include <bonobo/bonobo-widget.h>
#include <libbonobo.h>
int main(int argc, char *argv[])
{
	GtkWidget *window;
	GtkWidget *vbox;
	GtkWidget *bono;
	GtkWidget *button;

	gtk_init(&argc,&argv);
	bonobo_init(&argc,argv);
	gnome_vfs_init();
	
	window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
	g_signal_connect(G_OBJECT(window), "destroy",
					gtk_main_quit, NULL);

	vbox = gtk_vbox_new(FALSE, 0);
	gtk_container_add(GTK_CONTAINER(window), vbox);
	
	bono = bonobo_widget_new_control("vfs:http://www.gnome.org/images/logo-large",NULL);
	gtk_box_pack_start(GTK_BOX(vbox), bono, TRUE, TRUE, 0);
	button = gtk_button_new_with_label("blah");
	gtk_box_pack_end(GTK_BOX(vbox), button, FALSE, FALSE, 0);

	gtk_widget_show_all(window);
	gtk_main();
	return 0;
}
