Skip to content

Commit f811903

Browse files
norihiroRytoEX
authored andcommitted
linux-pipewire: Remove unused function
1 parent 8246675 commit f811903

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

plugins/linux-pipewire/camera-portal.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -108,23 +108,6 @@ static GDBusProxy *get_camera_portal_proxy(void)
108108
return camera_proxy;
109109
}
110110

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-
128111
/* ------------------------------------------------- */
129112

130113
struct camera_device {

0 commit comments

Comments
 (0)