analogdevicesinc / iio-oscilloscope

A GTK+ based oscilloscope application for interfacing with various IIO devices

Home Page:https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: 'gtk_tool_button_set_stock_id' is deprecated: Use 'gtk_tool_button_set_icon_name' instead [-Werror,-Wdeprecated-declarations]

yurivict opened this issue · comments

/usr/ports/misc/iio-oscilloscope/work/iio-oscilloscope-0.16-master/oscplot.c:6856:10: error: 'gtk_tool_button_set_stock_id' is deprecated: Use 'gtk_tool_button_set_icon_name' instead [-Werror,-Wdeprecated-declarations]
         gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(priv->fullscreen_button), "gtk-fullscreen");
         ^
/usr/local/include/gtk-3.0/gtk/gtktoolbutton.h:96:1: note: 'gtk_tool_button_set_stock_id' has been explicitly marked deprecated here
GDK_DEPRECATED_IN_3_10_FOR(gtk_tool_button_set_icon_name)
^

Version: 0.16
clang-15
FreeBSD 13.2

@yurivict thanks for the bug report. Unfortunately no one really develops on BSD on the team and CI is pretty nonexistent for it. If you can submit a fix that would be great otherwise this will likely be awhile before we can verify and fix on our end.

-Travis

This is a GTK-related error, not a BSD one.

What version of GTK do you use? Does it build with gtk3-3.24.34 ?

I can also confirm that building for Fedora is pretty broken... We need to either fix it or not treat deprecated stuff as an error (just delaying fixing the real issue but better than nothing for now I guess...).

And I would bet arch linux is likely also affected (will know about it tomorrow)