cairo-dock-team team mailing list archive
-
cairo-dock-team team
-
Mailing list archive
-
Message #05471
[Bug 1212973] Re: build error with gtk >= 3.9.8
Hello and thank you for this bug report!
I've added a temporary fix in BZR repo [1]. Is it possible to check if
it fixes your problem?
@fabounet: it seems that GTK+ devs want to remove icons next to buttons, menu items, toolbars and actions. It's deprecated now but it will be removed in GTK+ 4.
But I guess it's still possible to create a GtkImage with gtk_image_new_from_icon_name() and then add it with gtk_button_set_image(), etc. but note that GtkImageMenuItem is now deprecated too...
Or maybe it's time to no longer create these menus with GTK...
[1] On the development version:
* https://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-core/cairo-dock/revision/1602
* https://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-core/cairo-dock/revision/1603
* https://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-plug-ins/plug-ins/revision/2912
** Changed in: cairo-dock-core
Importance: Undecided => High
** Changed in: cairo-dock-core
Status: New => Fix Committed
** Changed in: cairo-dock-core
Milestone: None => 3.2.99.alpha
** Changed in: cairo-dock-core
Assignee: (unassigned) => Matthieu Baerts (matttbe)
--
You received this bug notification because you are a member of Cairo-
Dock Devs, which is subscribed to Cairo-Dock Core.
https://bugs.launchpad.net/bugs/1212973
Title:
build error with gtk >= 3.9.8
Status in Cairo-Dock : Core:
Fix Committed
Bug description:
In gtk+ >= 3.9.8, GtkStock apis was deprecated. See here:
https://mail.gnome.org/archives/gtk-devel-list/2013-July/msg00000.html
So building cairo-dock-core will failed with:
Help/src/applet-tips-dialog.c:321:39: error: 'GTK_STOCK_GO_FORWARD' undeclared (first use in this function)
const gchar *cButtons[] = {"cancel", GTK_STOCK_GO_FORWARD"-rtl", GTK_STOCK_GO_FORWARD"-ltr", NULL};
Please update codebase of cairo-dock so that it could be built with
recent gtk+. Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cairo-dock-core/+bug/1212973/+subscriptions
References