mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
examples: gtk: Fix MSVC build
gtk-play.c(370): error C2375: 'rewind_button_clicked_cb': redefinition; different linkage Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2871>
This commit is contained in:
parent
cb1dc5c9ac
commit
356a0ce8f4
1 changed files with 11 additions and 0 deletions
|
@ -97,16 +97,27 @@ typedef GtkApplicationWindowClass GtkPlayClass;
|
||||||
GType gtk_play_get_type (void);
|
GType gtk_play_get_type (void);
|
||||||
G_DEFINE_TYPE (GtkPlay, gtk_play, GTK_TYPE_APPLICATION_WINDOW);
|
G_DEFINE_TYPE (GtkPlay, gtk_play, GTK_TYPE_APPLICATION_WINDOW);
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
|
G_MODULE_EXPORT
|
||||||
void rewind_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
void rewind_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
||||||
|
G_MODULE_EXPORT
|
||||||
void forward_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
void forward_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
||||||
|
G_MODULE_EXPORT
|
||||||
void play_pause_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
void play_pause_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
||||||
|
G_MODULE_EXPORT
|
||||||
void prev_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
void prev_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
||||||
|
G_MODULE_EXPORT
|
||||||
void next_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
void next_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
||||||
|
G_MODULE_EXPORT
|
||||||
void media_info_dialog_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
void media_info_dialog_button_clicked_cb (GtkButton * button, GtkPlay * play);
|
||||||
|
G_MODULE_EXPORT
|
||||||
void fullscreen_button_toggled_cb (GtkToggleButton * widget, GtkPlay * play);
|
void fullscreen_button_toggled_cb (GtkToggleButton * widget, GtkPlay * play);
|
||||||
|
G_MODULE_EXPORT
|
||||||
void seekbar_value_changed_cb (GtkRange * range, GtkPlay * play);
|
void seekbar_value_changed_cb (GtkRange * range, GtkPlay * play);
|
||||||
|
G_MODULE_EXPORT
|
||||||
void volume_button_value_changed_cb (GtkScaleButton * button, gdouble value,
|
void volume_button_value_changed_cb (GtkScaleButton * button, gdouble value,
|
||||||
GtkPlay * play);
|
GtkPlay * play);
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue