Re: [gtk-list] gtk_window_add_accelerator_table() problem



That API is deprecated. Use item factory instead. There are examples in the
new release (in the examples directory I think). The changeover is very
straightforward.

syd

On Apr 5,  9:53pm, Aaron Walker wrote:
} Subject: [gtk-list] gtk_window_add_accelerator_table() problem
} hello,
} 
} when I use gtk_window_add_accelerator_table() for a GtkMenuFactory menu,
} I get the following error:  structure has no member named 'table'
} 
} the line that gives this error is straight out of the gtk tutorial:
} 
} gtk_window_add_accelerator_table(GTK_WINDOW(win->window),
} subfactory->table);
} 
} has the member name changed since the tutorial was written?
} 
} thanks,
} 
} --
} Aaron Walker
} amwalker@gate.net
} http://iconmedia.com/aaron
} 
} 
} 
} -- 
} To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
} 
}-- End of excerpt from Aaron Walker



-- 
Syd Logan

slogan@cts.com
http://www.users.cts.com/crash/s/slogan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]