Re: Doesn't gtk_menu_ensure_uline_accel_group() work with pkg-config ?
- From: Owen Taylor <otaylor redhat com>
- To: "Cho, hyun-sang" <hscho newer co kr>
- Cc: <gtk-app-devel-list gnome org>
- Subject: Re: Doesn't gtk_menu_ensure_uline_accel_group() work with pkg-config ?
- Date: Fri, 10 Jan 2003 09:49:17 -0500 (EST)
"Cho, hyun-sang" <hscho newer co kr> writes:
Thanks for reply.
Yes, the code is sampled from "Teach Yourself GTK+ in 21 Days".
As I wrote, compiled with
gcc -W -Wall program.c -o program `gtk-config --cflags --libs`
is done successfully.
The goal that I want to do is, compile the code with pkg-config.
I read under-line acceleration coded by gtk_menu_ensure_uline_accel_group() from FAQ which is included in
gtk+2.0 tar ball.
And, examples within the tar ball use pkg-config instead of gtk-config.
I want to know why the code cannont compiled with pkg-config as like other samples within gtk+2.0 tar ball.
Because gtk_menu_ensure_uline_accel_group() doesn't exist in GTK+-2.0.
Adding underline accelerators (mnemonics) is easy in GKT+-2.0,
you just use gtk_menu_item_new_with_mnemonic().
If the FAQ still refers to gtk_menu_ensure_uline_accel_group(),
file a bug in bugzilla and CC: gale gtk org on it.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]