From 356a0ce8f49261eea25f69093925e2735c1f9aae Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Fri, 12 Aug 2022 22:18:22 +0900 Subject: [PATCH] examples: gtk: Fix MSVC build gtk-play.c(370): error C2375: 'rewind_button_clicked_cb': redefinition; different linkage Part-of: --- .../gst-examples/playback/player/gtk/gtk-play.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/subprojects/gst-examples/playback/player/gtk/gtk-play.c b/subprojects/gst-examples/playback/player/gtk/gtk-play.c index 985786f3ca..fb83f6be29 100644 --- a/subprojects/gst-examples/playback/player/gtk/gtk-play.c +++ b/subprojects/gst-examples/playback/player/gtk/gtk-play.c @@ -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 {