Re: [gtk-list] Glade failing to compile
- From: Jeff Garzik <jgarzik pobox com>
- To: Allan Nielsen <an kampsax dtu dk>
- cc: gtk-list redhat com, glade glade pn org
- Subject: Re: [gtk-list] Glade failing to compile
- Date: Tue, 2 Feb 1999 10:43:25 -0500 (EST)
Please let me know if the attached patch works.
Thanks,
Jeff
On Tue, 2 Feb 1999, Allan Nielsen wrote:
> Hi,
>
> I have been unable to get glade to compile recently :( I use a fresh
> cvs-version of glade and glib/gtk+
>
> The error is:
> ------
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../intl -I/usr/local/include
> -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include
> -I/usr/X11R6/include -I/usr/local/lib/glib/include -g -O2
> -I/usr/X11R6/include -I/usr/local/lib/glib/include -I/usr/local/include
> -Wall -c project.c
> project.c: In function `create_main_window':
> project.c:736: `toolbar' undeclared (first use this function)
> project.c:736: (Each undeclared identifier is reported only once
> project.c:736: for each function it appears in.)
> project.c:745: `new_xpm' undeclared (first use this function)
> project.c:749: `open_xpm' undeclared (first use this function)
> project.c:753: `save_xpm' undeclared (first use this function)
> project.c:351: warning: unused variable `ToolBar'
> project.c: At top level:
> ------
>
> thanx,
> Allan
> --
> This message is transmitted on 100%
> recycled electrons.
>
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
Index: project.c
===================================================================
RCS file: /debian/home/gnomecvs/glade/glade/project.c,v
retrieving revision 1.6
diff -u -r1.6 project.c
--- project.c 1999/01/25 22:59:25 1.6
+++ project.c 1999/02/02 16:44:49
@@ -728,10 +728,12 @@
#endif /* USE_GNOME */
/* Create toolbar */
-#ifdef _0_USE_GNOME /* FIXME: structure has no member named `toolbar' */
- gnome_app_create_toolbar (GNOME_APP(win_main), ToolBar);
+#ifdef USE_GNOME
+ gnome_app_set_toolbar (GNOME_APP (win_main), ToolBar);
+ /* FIXME: structure has no member named `toolbar'
gtk_toolbar_set_style (GTK_TOOLBAR (GNOME_APP (win_main)->toolbar),
GTK_TOOLBAR_ICONS);
+ */
#else
toolbar = gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_ICONS);
#ifdef GTK_HAVE_FEATURES_1_1_0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]