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:
Seungha Yang 2022-08-12 22:18:22 +09:00 committed by GStreamer Marge Bot
parent cb1dc5c9ac
commit 356a0ce8f4

View file

@ -97,16 +97,27 @@ typedef GtkApplicationWindowClass GtkPlayClass;
GType gtk_play_get_type (void);
G_DEFINE_TYPE (GtkPlay, gtk_play, GTK_TYPE_APPLICATION_WINDOW);
/* *INDENT-OFF* */
G_MODULE_EXPORT
void rewind_button_clicked_cb (GtkButton * button, GtkPlay * play);
G_MODULE_EXPORT
void forward_button_clicked_cb (GtkButton * button, GtkPlay * play);
G_MODULE_EXPORT
void play_pause_button_clicked_cb (GtkButton * button, GtkPlay * play);
G_MODULE_EXPORT
void prev_button_clicked_cb (GtkButton * button, GtkPlay * play);
G_MODULE_EXPORT
void next_button_clicked_cb (GtkButton * button, GtkPlay * play);
G_MODULE_EXPORT
void media_info_dialog_button_clicked_cb (GtkButton * button, GtkPlay * play);
G_MODULE_EXPORT
void fullscreen_button_toggled_cb (GtkToggleButton * widget, GtkPlay * play);
G_MODULE_EXPORT
void seekbar_value_changed_cb (GtkRange * range, GtkPlay * play);
G_MODULE_EXPORT
void volume_button_value_changed_cb (GtkScaleButton * button, gdouble value,
GtkPlay * play);
/* *INDENT-ON* */
enum
{