We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8246675 commit f811903Copy full SHA for f811903
1 file changed
plugins/linux-pipewire/camera-portal.c
@@ -108,23 +108,6 @@ static GDBusProxy *get_camera_portal_proxy(void)
108
return camera_proxy;
109
}
110
111
-static uint32_t get_camera_version(void)
112
-{
113
- g_autoptr(GVariant) cached_version = NULL;
114
- uint32_t version;
115
-
116
- ensure_camera_portal_proxy();
117
118
- if (!camera_proxy)
119
- return 0;
120
121
- cached_version =
122
- g_dbus_proxy_get_cached_property(camera_proxy, "version");
123
- version = cached_version ? g_variant_get_uint32(cached_version) : 0;
124
125
- return version;
126
-}
127
128
/* ------------------------------------------------- */
129
130
struct camera_device {
0 commit comments