GNOME Bugzilla – Bug 734826
Deprecate GtkStatusIcon
Last modified: 2014-08-15 17:04:08 UTC
GtkStatusIcon is using a problematic, XEmbed-based protocol under X, and we want to get rid of it eventually. Document our intentions by marking GtkStatusIcon as deprecated.
Created attachment 283422 [details] [review] Deprecate GtkStatusIcon
*** Bug 688493 has been marked as a duplicate of this bug. ***
Review of attachment 283422 [details] [review]: looks generally good to me. ::: gtk/gtkstatusicon.c @@ +31,3 @@ #include <stdlib.h> +#undef GDK_DEPRECATED don't we usually use: #define GDK_DISABLE_DEPRECATION_WARNINGS before including gdk.h/gtk.h ? this should also avoid the begin/end ignore deprecations pragma. ::: tests/teststatusicon.c @@ +23,3 @@ #include <stdlib.h> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS probably better to use: #define GDK_DISABLE_DEPRECATION_WARNINGS #include <gtk/gtk.h>
Attachment 283422 [details] pushed as cab7dcd - Deprecate GtkStatusIcon