* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/** @file disobedience/recent.c
+ * @brief Disobedience recently-played widget
+ */
#include "disobedience.h"
#include "popup.h"
#include "queue-generic.h"
}
/** @brief Called at startup */
-static void recent_init(void) {
+static void recent_init(struct queuelike attribute((unused)) *ql) {
/* Whenever the recent list changes on the server, re-fetch it */
event_register("recent-changed", recent_changed, 0);
}
.ncolumns = sizeof recent_columns / sizeof *recent_columns,
.menuitems = recent_menuitems,
.nmenuitems = sizeof recent_menuitems / sizeof *recent_menuitems,
+ .drag_source_targets = choose_targets,
+ .drag_source_actions = GDK_ACTION_COPY,
};
GtkWidget *recent_widget(void) {