summaryrefslogtreecommitdiff
path: root/mate-volume-control/gvc-stream-applet-icon.c
AgeCommit message (Collapse)AuthorFilesLines
2023-12-25Fix various instance checksColomban Wendling1-2/+2
The g_return*_if_fail() calls should use PREFIX_IS_TYPE_NAME [1], which returns whether the given instance is of the right type, not PREFIX_TYPE_NAME [2], which checks whether the given instance if of the right type, warns if not, and returns the passed-in instance unchanged. Using the wrong one means the returned value is the passed-in pointer, and thus passes the g_return*_if_fail() whenever the pointer is non-NULL, no matter whether it's of the right type or not. A warning would still be emitted by g_type_check_instance_cast(), but the execution wouldn't get short-circuited. [1] calls g_type_check_instance_is_a() [2] calls g_type_check_instance_cast()
2022-07-08gvc-stream-applet-icon: fix memory leakrbuj1-0/+1
2021-06-21update copyright to 2021raveit651-0/+1
2020-04-25gvc-stream-applet-icon: Remove enum-conversion warningrbuj1-1/+10
2019-10-29gvc-stream-applet-icon: avoid 'g_type_class_add_private'Pablo Barciela1-9/+3
2019-03-21add widget name volume-applet to panel-appletraveit651-0/+3
2019-03-09Re-enable old GtkStatusIconVictor Kareh1-0/+775
This allows us to have builds that use both the legacy status icon as well as the new applet.