Skip to content

Commit

Permalink
clapper-gtk: Fix some video props not being writable
Browse files Browse the repository at this point in the history
They should have been writable as we even have setters for them
  • Loading branch information
Rafostar committed Jul 23, 2024
1 parent 2f39fef commit 931dc25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/clapper-gtk/clapper-gtk-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@ clapper_gtk_video_class_init (ClapperGtkVideoClass *klass)
*/
param_specs[PROP_FADE_DELAY] = g_param_spec_uint ("fade-delay",
NULL, NULL, 1, G_MAXUINT, DEFAULT_FADE_DELAY,
G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);

/**
* ClapperGtkVideo:touch-fade-delay:
Expand All @@ -1593,7 +1593,7 @@ clapper_gtk_video_class_init (ClapperGtkVideoClass *klass)
*/
param_specs[PROP_TOUCH_FADE_DELAY] = g_param_spec_uint ("touch-fade-delay",
NULL, NULL, 1, G_MAXUINT, DEFAULT_TOUCH_FADE_DELAY,
G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);

/**
* ClapperGtkVideo:auto-inhibit:
Expand Down

0 comments on commit 931dc25

Please sign in to comment.