On Thu, 12 Feb 2009 07:45:18 +0100 torbenh@xxxxxx wrote: > i have taken up gAlan development again. :) > get the code with: > git clone git://repo.or.cz/galan.git people need to make sure that they run (or rerun) ./autocvs *after* they install gob2 else they will see this when running configure: ./configure: line 12579: syntax error near unexpected token `2.0.0' ./configure: line 12579: `GOB2_CHECK(2.0.0)' I've also attached a tiny patch to fix some GError usage. I had some problems linking galan (local I think) and ended up running make install from the src dir by mistake. Without glade.ui installed the GError is used then overwritten producing a warning message. The GError isn't used to do anything anyway so the patch just passes NULL instead. cheers, pete.
--- gui.c 2009-02-12 07:24:15.000000000 +0000 +++ gui.c.fixed 2009-02-12 08:03:54.000000000 +0000 @@ -702,11 +702,10 @@ gtk_ui_manager_insert_action_group( ui_manager, menu_actiongroup, 2 ); gtk_ui_manager_insert_action_group( ui_manager, component_actiongroup, 0 ); - GError *err = NULL; - int ret = gtk_ui_manager_add_ui_from_file( ui_manager, UIDIRIFY("galan.ui"), &err ); + int ret = gtk_ui_manager_add_ui_from_file( ui_manager, UIDIRIFY("galan.ui"), NULL ); if( ret == 0 ) { - ret = gtk_ui_manager_add_ui_from_file( ui_manager, "galan.ui", &err ); + ret = gtk_ui_manager_add_ui_from_file( ui_manager, "galan.ui", NULL ); if( ret == 0 ) printf( "Error loading ui file ;( Good Luck Without Menus\n" ); }
_______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user