On 9 Feb 2001, Rodrigo Moya wrote: > > I have gnome-db and gnome-db-devel 0.2.2 and when I try to compile the > > latest glade I get the following error: > > gnomedbbrowser.c: In function `gb_gnome_db_browser_new': > > gnomedbbrowser.c:56: structure has no member named `tables_button' > > gnomedbbrowser.c:57: structure has no member named `views_button' > > gnomedbbrowser.c:58: structure has no member named `procs_button' > > gnomedbbrowser.c:59: structure has no member named `types_button' > > make: *** [gnomedbbrowser.o] Error 1 > > > yes, those members were once part of the GnomeDBBrowser widget, but are not > > anymore, so a cleanup on the gnome-db-related glade sources would be > needed to make them work :( I've compiled it with this small patch that supresses the 4 outdated lines. Pau
--- glade/gnome-db/gnomedbbrowser.c.orig Fri Feb 9 22:27:11 2001 +++ glade/gnome-db/gnomedbbrowser.c Fri Feb 9 22:27:28 2001 @@ -53,10 +53,12 @@ brw = GNOME_DB_BROWSER (widget); /* Disconnect the toggle button signals, since they cause problems. */ + /* gtk_signal_disconnect_by_data (GTK_OBJECT (brw->tables_button), brw); gtk_signal_disconnect_by_data (GTK_OBJECT (brw->views_button), brw); gtk_signal_disconnect_by_data (GTK_OBJECT (brw->procs_button), brw); gtk_signal_disconnect_by_data (GTK_OBJECT (brw->types_button), brw); + */ return widget; }
