
// gcc -o testscale `pkg-config --libs --cflags gmodule-2.0 gtk+-2.0` testscale.c

#include <gtk/gtk.h>

gboolean
seek_slider_pressed_cb (GtkWidget *widget, GdkEventButton *event, gpointer data)
{
	g_message ("seek_slider_pressed_cb");

	return FALSE;
}

gboolean
seek_slider_released_cb (GtkWidget *widget, GdkEventButton *event, gpointer data)
{
	g_message ("seek_slider_released_cb");

	return FALSE;
}

void
seek_slider_changed_cb (GtkAdjustment *adj, gpointer data)
{
//	g_message ("seek_slider_changed_cb");
}

int main (int argc, char **argv)
{
	GtkBuilder *builder;
	GtkWidget *window;

	gtk_init (&argc, &argv);

	builder = gtk_builder_new ();
	gtk_builder_add_from_file (builder, "testscale.ui", NULL);
	gtk_builder_connect_signals (builder, NULL);

	window = GTK_WIDGET (gtk_builder_get_object (builder, "totem_main_window"));
	gtk_window_set_default_size (GTK_WINDOW (window), 500, 100);

	gtk_widget_show_all (window);
	gtk_main ();

	return 0;
}

