Skip to content

Commit

Permalink
screencast: Bump supported Mutter version to 3 (flatpak#280)
Browse files Browse the repository at this point in the history
With the new Mutter version and the inclusion of pipewire 0.3 support
into Mutter, the reported D-Bus version for the screencast API was
bumped to 3.

Update the supported version here as well. No code changes are necessary
to make it work with the version 3 of the API.
  • Loading branch information
GeorgesStavracas authored Feb 24, 2020
1 parent 171aa26 commit adb7268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gnomescreencast.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include <stdint.h>

#define SUPPORTED_MUTTER_SCREEN_CAST_API_VERSION 2
#define SUPPORTED_MUTTER_SCREEN_CAST_API_VERSION 3

enum
{
Expand Down
2 changes: 1 addition & 1 deletion src/screencast.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "session.h"
#include "utils.h"

#define SUPPORTED_MUTTER_SCREEN_CAST_API_VERSION 2
#define SUPPORTED_MUTTER_SCREEN_CAST_API_VERSION 3

typedef struct _ScreenCastDialogHandle ScreenCastDialogHandle;

Expand Down

0 comments on commit adb7268

Please sign in to comment.