-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gtk_status_icon_position_menu is deprecated #11
Comments
Bummer. Any idea if there's a replacement? If the status icon API is going away without a simple replacement, I don't intend to fix this. |
I am not certain, sorry. I totaly understand that. Lot of work going from one API to something else. |
you could remove the -Werror in the program, sure is anoying but when the time come sure someone could get a hack, but for now that message anoy users that want build the applet. |
Yeah, in hindsight leaving -Werror there wasn't a great idea. That said, I wouldn't take this warning lightly. It seems that core functionality pa-applet depends on is going to be removed soon with no drop in replacement. |
but leave it there prevent building in systems that have compatible 2014-12-18 11:41 GMT-03:00 Fernando Lemos [email protected]:
Pablo Lezaeta |
In my fork, I just deactivated the error message. Builds successful on my system now. |
yes, that show that is building correctly. 2014-12-23 13:24 GMT-03:00 yes [email protected]:
Pablo Lezaeta |
The next release will, most likely, remove -Werror. What I wanted to point out is that this is a serious warning regardless. Don't read more into it.= |
Hi, would somebody mind explaining in more detail exactly what file and lines are commented out in order to deactivate the error message to make this work? I'm surprised that 2 years later this is still an issue? I'm running Ubuntu 16.04. Thanks very much for any help: Here in detail is the output from make: root@E5570:local/src/pa-applet-master#make |
I'm currently getting this error on Ubuntu 16.04 as well. Though, the suggested patch fixes it. @LeoKSimon you have to make this change: https://github.com/Strubbl/pa-applet/commit/451f68353ffad9c4cf988a022cb92864655fd7f1 It'd be awesome if this code was either updated to avoid the deprecated function (preferable), or the warning was squelched! |
I've also forked this project and included this fix (among other things): https://github.com/mschwager/pa-applet |
This fails to build on GTK 3.13 due to the usage of a deprecated function.
test -f 'popup_menu.c' || echo './'
popup_menu.cpopup_menu.c: In function ‘show_popup_menu’:
popup_menu.c:98:5: error: ‘gtk_status_icon_position_menu’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:160) [-Werror=deprecated-declarations]
gtk_menu_popup(GTK_MENU(menu), NULL, NULL, gtk_status_icon_position_menu,
^
cc1: all warnings being treated as errors
Makefile:465: recipe for target 'pa_applet-popup_menu.o' failed
make[2]: *** [pa_applet-popup_menu.o] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-thomas/aur-pa-applet-git/src/pa-applet-git/src'
Makefile:357: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-thomas/aur-pa-applet-git/src/pa-applet-git'
Makefile:297: recipe for target 'all' failed
Also, it seems like GTK is going to drop support for sys tray icons. Atleast I read that somewhere I thnik.
The text was updated successfully, but these errors were encountered: