← Back to team overview

cairo-dock-team team mailing list archive

Re: [Bug 1212973] Re: build error with gtk >= 3.9.8

 

"Or maybe it's time to no longer create these menus with GTK..."

this is becoming ridiculous, now we'll have to build the menu items
manually, and also update them when the icon-theme changes ...
so I think either GMenu or our own menu is a good idea.



2013/8/16 Matthieu Baerts <matttbe@xxxxxxxxx>

> @fabounet: instead of 'GtkImageMenuItem', it seems we can use 'GMenu'
> from GIO.
>
> PS: Oh, you'll like this commit: https://mail.gnome.org/archives
> /commits-list/2013-June/msg06320.html !!!
>
>
> >From gtk+-3.9.8.news:
>
> * We've started deprecating GtkStock apis. These apis will continue
>   working until GTK+ 4, so there is no need to rush to replace them.
>   For more information, see
>   https://mail.gnome.org/archives/gtk-devel-list/2013-July/msg00000.html
>   Wholly deprecated as part of this effort:
>   GtkIconFactory, GtkIconSet, GtkIconSource, GtkImageMenuItem,
>   GtkAction, GtkUIManager
>
> --
> 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team
> Post to     : cairo-dock-team@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~cairo-dock-team
> More help   : https://help.launchpad.net/ListHelp
>

-- 
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