Re: Icon/image in menu with GtkUIManager and GtkAction in GTK+ 3.10



On Thu, 3 Oct 2013, Sébastien Wilmet wrote:

Since the deprecation of GtkUIManager, GtkAction, GtkStock etc, it seems that gtk_action_set_always_show_image() doesn't work anymore.
It's a problem for me too. The following is somewhat tongue-in-cheek 
but pretty accurately reflects my experience as an app developer 
(much as I like GTK and am grateful to its developers).
When some GTK API is marked as deprecated we understand this to 
mean:
"This is no longer the recommended way of doing things in GTK. 
Unless hell freezes over it will be gone in the next major-number 
release of GTK. If you have plenty of time on your hands and want 
your application to work with the next major version -- and you 
don't care about maintaining compatibility with older major GTK 
versions (or older minor versions of the current major) -- you 
should start using the newly intoduced and now recommended API in 
newly written code, and figure out how to replace all existing 
instances of calls to the deprecated API at your leisure."
Fair enough, in a sense, but it goes a step beyond if deprecating an 
API is considered a license to make it stop doing what it was 
initially advertised to do, effective immediately. Like Sébastien, I 
hope that's not the case.
--
Allin Cottrell
Department of Economics
Wake Forest University


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