Go to file
Georges Basile Stavracas Neto 2a7a100a13
mixer-control: Remove unnecessary instance checks
gvc_mixer_control_get_vol_max_norm() and gvc_mixer_control_get_vol_max_amplified()
do not access any of the instance variables. In GNOME Settings, we even
pass NULL to these functions. So checking the instance is not necessary.

In fact, this is causing instance check failures in GNOME Settings, and
the entire Sound panel is broken since those functions are returning zero.

The reason that only the checks are being dropped, and not the parameter
entirely, is to preserve API compatibility.
2019-06-15 21:26:44 -03:00
tests-include tests: Add a Makefile for tests 2016-04-17 20:49:55 +02:00
.gitignore tests: Add a Makefile for tests 2016-04-17 20:49:55 +02:00
.gitlab-ci.yml ci: Add CI 2019-02-27 14:26:26 +01:00
gvc-channel-map-private.h Initial import 2012-10-19 20:00:25 +02:00
gvc-channel-map.c avoid deprecated g_type_class_add_private 2018-09-09 00:02:41 +03:00
gvc-channel-map.h Initial import 2012-10-19 20:00:25 +02:00
gvc-mixer-card-private.h Initial import 2012-10-19 20:00:25 +02:00
gvc-mixer-card.c Add missing allow-none annotations 2019-03-18 10:58:36 +13:00
gvc-mixer-card.h Add a GIcon accessor for GvcMixerUIDevices 2013-02-18 14:39:54 +01:00
gvc-mixer-control-private.h Initial import 2012-10-19 20:00:25 +02:00
gvc-mixer-control.c mixer-control: Remove unnecessary instance checks 2019-06-15 21:26:44 -03:00
gvc-mixer-control.h gvc: Add "what did you plug in" support API 2016-01-17 18:34:07 -02:00
gvc-mixer-event-role.c avoid deprecated g_type_class_add_private 2018-09-09 00:02:41 +03:00
gvc-mixer-event-role.h Initial import 2012-10-19 20:00:25 +02:00
gvc-mixer-sink-input.c avoid deprecated g_type_class_add_private 2018-09-09 00:02:41 +03:00
gvc-mixer-sink-input.h Fix introspection support 2012-10-19 20:00:47 +02:00
gvc-mixer-sink.c avoid deprecated g_type_class_add_private 2018-09-09 00:02:41 +03:00
gvc-mixer-sink.h Fix introspection support 2012-10-19 20:00:47 +02:00
gvc-mixer-source-output.c avoid deprecated g_type_class_add_private 2018-09-09 00:02:41 +03:00
gvc-mixer-source-output.h Fix introspection support 2012-10-19 20:00:47 +02:00
gvc-mixer-source.c avoid deprecated g_type_class_add_private 2018-09-09 00:02:41 +03:00
gvc-mixer-source.h Fix introspection support 2012-10-19 20:00:47 +02:00
gvc-mixer-stream-private.h Initial import 2012-10-19 20:00:25 +02:00
gvc-mixer-stream.c Add missing guards for inputs to functions 2019-03-18 10:58:36 +13:00
gvc-mixer-stream.h gvc-mixer-stream: make card-index unsigned int 2015-09-15 15:35:26 +03:00
gvc-mixer-ui-device.c Add missing guards for inputs to functions 2019-03-18 10:58:36 +13:00
gvc-mixer-ui-device.h gvc-mixer-ui-device: make stream-id unsigned int 2015-09-09 14:14:15 +03:00
gvc-pulseaudio-fake.h Initial import 2012-10-19 20:00:25 +02:00
libgnome-volume-control.doap Comment invalid <category> in DOAP file to pass git pre-receive hook 2018-12-16 01:22:53 +01:00
Makefile.am build: Include .typelib in CLEANFILES 2012-12-18 16:26:28 +01:00
Makefile.tests tests: Add audio device selection question 2016-04-17 22:27:26 +02:00
meson_options.txt build: Rename build options 2018-01-30 13:15:36 +01:00
meson.build build: Remove bogus rpath 2018-08-20 14:26:18 +02:00
README.md README: Add README 2018-09-07 15:31:39 +02:00
test-audio-device-selection.c Fix printf without supplied argument 2017-12-06 13:45:58 +13:00

libgnome-volume-control

libgnome-volume-control is a copy library that's supposed to be used as a git sub-module. If your project uses some of libgnome-volume-control's strings in a user-facing manner, don't forget to add those files to your POTFILES.in for translation.

Projects using libgnome-volume-control