return FALSE;
}
-static gboolean generic_dialog_delete_cb(GtkWidget *UNUSED(w), GdkEventAny *UNUSED(event), gpointer data)
+static gboolean generic_dialog_delete_cb(GtkWidget *, GdkEventAny *, gpointer data)
{
auto gd = static_cast<GenericDialog *>(data);
gboolean auto_close;
*-----------------------------------------------------------------------------
*/
-static void warning_dialog_ok_cb(GenericDialog *UNUSED(gd), gpointer UNUSED(data))
+static void warning_dialog_ok_cb(GenericDialog *, gpointer)
{
/* no op */
}
return TRUE;
}
-static gboolean user_close_cb(GtkWidget *UNUSED(widget), GdkEvent *UNUSED(event), gpointer data)
+static gboolean user_close_cb(GtkWidget *, GdkEvent *, gpointer data)
{
auto appimage_data = static_cast<AppImageData *>(data);
g_free(ui_path);
}
-void appimage_notification_func(gpointer data, gpointer UNUSED(user_data))
+void appimage_notification_func(gpointer data, gpointer)
{
gboolean internet_available = FALSE;
gchar *architecture;
reinterpret_cast<void(*)(GenericDialog *, gpointer)>(func_cb), is_default);
}
-static void file_dialog_entry_cb(GtkWidget *UNUSED(widget), gpointer data)
+static void file_dialog_entry_cb(GtkWidget *, gpointer data)
{
auto fdlg = static_cast<FileDialog *>(data);
g_free(fdlg->dest_path);
fdlg->dest_path = remove_trailing_slash(gtk_entry_get_text(GTK_ENTRY(fdlg->entry)));
}
-static void file_dialog_entry_enter_cb(const gchar *UNUSED(path), gpointer data)
+static void file_dialog_entry_enter_cb(const gchar *, gpointer data)
{
auto gd = static_cast<GenericDialog *>(data);