summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/artwork/artwork.c4
-rw-r--r--plugins/gtkui/gtkui.c4
-rw-r--r--plugins/hotkeys/hotkeys.c8
3 files changed, 16 insertions, 0 deletions
diff --git a/plugins/artwork/artwork.c b/plugins/artwork/artwork.c
index aa4fc64e..1489b72d 100644
--- a/plugins/artwork/artwork.c
+++ b/plugins/artwork/artwork.c
@@ -515,6 +515,8 @@ artwork_plugin_start (void)
mutex = deadbeef->mutex_create_nonrecursive ();
cond = deadbeef->cond_create ();
tid = deadbeef->thread_start_low_priority (fetcher_thread, NULL);
+
+ return 0;
}
static int
@@ -537,6 +539,8 @@ artwork_plugin_stop (void)
if (cond) {
deadbeef->cond_free (cond);
}
+
+ return 0;
}
static const char settings_dlg[] =
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c
index c61a1d31..d592f268 100644
--- a/plugins/gtkui/gtkui.c
+++ b/plugins/gtkui/gtkui.c
@@ -460,17 +460,21 @@ playlistswitch_cb (gpointer none) {
static int
gtkui_on_playlistswitch (DB_event_t *ev, uintptr_t data) {
g_idle_add (playlistswitch_cb, NULL);
+ return 0;
}
static int
gtkui_on_frameupdate (DB_event_t *ev, uintptr_t data) {
g_idle_add (update_songinfo, NULL);
+
+ return 0;
}
static int
gtkui_on_volumechanged (DB_event_t *ev, uintptr_t data) {
GtkWidget *volumebar = lookup_widget (mainwin, "volumebar");
gdk_window_invalidate_rect (volumebar->window, NULL, FALSE);
+
return 0;
}
diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c
index 3a27b237..0fffdf0c 100644
--- a/plugins/hotkeys/hotkeys.c
+++ b/plugins/hotkeys/hotkeys.c
@@ -281,6 +281,8 @@ read_config (Display *disp)
XGrabKey (disp, commands[i].keycode, commands[i].modifier | flags, DefaultRootWindow (disp), False, GrabModeAsync, GrabModeAsync);
}
}
+
+ return 0;
}
DB_plugin_t *
@@ -300,6 +302,8 @@ x_err_handler (Display *d, XErrorEvent *evt) {
char buffer[1024];
XGetErrorText (d, evt->error_code, buffer, sizeof (buffer));
fprintf (stderr, "hotkeys: xlib error: %s\n", buffer);
+
+ return 0;
}
static void
@@ -379,6 +383,8 @@ hotkeys_start (void) {
read_config (disp);
XSync (disp, 0);
loop_tid = deadbeef->thread_start (hotkeys_event_loop, 0);
+
+ return 0;
}
static int
@@ -388,6 +394,8 @@ hotkeys_stop (void) {
deadbeef->thread_join (loop_tid);
cleanup ();
}
+
+ return 0;
}
const char *