Re: [gtk-list] Menufactory problems (serious?)
- From: Joshua Richardson <jric bu edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Menufactory problems (serious?)
- Date: Mon, 7 Jun 1999 20:04:55 -0400 (EDT)
It sounds like you've got a typo in your source code. Why don't you post
it or mail it to me, and I can take a look.
--josh
----------------------------------------------------------------
Joshua Richardson
Dept. Cognitive and Neural Systems / Center for Adaptive Systems
Boston University
----------------------------------------------------------------
On Mon, 7 Jun 1999, David J. Topper wrote:
> Hey folks,
>
> I'm trying to make use of the menu factory alla. the docs on:
>
> http://www.gtk.org/tutorial/gtk_tut-13.html
>
> But when I try to compile, I get errors right off the bat:
>
> newslide.c:14: parse error before `menu_items'
> newslide.c:15: warning: braces around scalar initializer for
> `menu_items[0]'
> newslide.c:15: warning: initialization makes integer from pointer
> without a cast
> newslide.c:15: warning: excess elements in scalar initializer after
> `menu_items[0]'
> ...
> newslide.c: In function `create_menus':
> newslide.c:208: `GtkItemFactory' undeclared (first use this function)
> newslide.c:208: (Each undeclared identifier is reported only once
> newslide.c:208: for each function it appears in.)
> newslide.c:208: `item_factory' undeclared (first use this function)
> newslide.c:209: `GtkAccelGroup' undeclared (first use this function)
> newslide.c:209: `accel_group' undeclared (first use this function)
> newslide.c:210: parse error before `nmenu_items'
> newslide.c:222: `GTK_TYPE_MENU_BAR' undeclared (first use this function)
> newslide.c:228: `nmenu_items' undeclared (first use this function)
> newslide.c:233: `menubar' undeclared (first use this function)
>
> I've even upgraded to gtk-1.2.3 ... but still no dice. I'm going to
> guess that the documentation is seriously wrong somehow?
>
> Help would be appreciated. Email responses preferred.
>
> Dave Topper
> --
> Technical Director, Virginia Center for Computer Music
> Programmer / Analyst, Dean's Office (School of A&S)
> http://www.people.virginia.edu/~djt7p
> (804) 924-6887
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]